[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: Using two digits in the track number
From:       Charles Samuels <charles () kde ! org>
Date:       2002-06-04 18:23:23
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tirsdag 04 juni 2002, 11:18 am, skrev Ryan Cumming:
> On June 4, 2002 11:03, Ismael Orenstein wrote:
> > The following (ugly?) patch to metatag.cpp checks if we are setting the
> > "track" property of a PlaylistItem and forces it to use 2 digits, with
> > the '0' as the fill character. Please review it. :)
>
> Looks good, except the track number can (and will) be a string in Vorbis
> tags. The toInt() isn't a good idea in that case.

In SPL (and AFAIK, Hayes as well):
The list:
	2, 10
Is sorted correctly (via a horribly kludge in the sorting mechanism) -- it 
works though :)

- -Charles

- -- 
Charles Samuels <charles@kde.org>
 "Intolerance is itself a form of violence and an obstacle to the growth of a 
true democratic spirit." -- Mahatma Gandhi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8/QWbWS4Pv66UcxkRAtqtAKCCYUNtTlht22lYnxHe69FP/rF0fwCfYNhX
hFVNuM+55FPBQ0Y9X7M19/s=
=fkOv
-----END PGP SIGNATURE-----

_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic