bug in cddb discid calculation ?

Aaron J. Seigo aseigo at olympusproject.org
Tue May 13 18:40:22 BST 2003


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

On Sunday 11 May 2003 03:52, Alexander Neundorf wrote:
>     unsigned int l = (list[numTracks + 1] + 1) / 75;
>     l -= list[numTracks] / 75;
>
> I changed it to
>     l -= list[0] / 75;
>
> and now it works.

i just took to filling the list[numTracks] with the start of the first track. 
this seems to work fine here. i'd have no problem with getting rid of it all 
together, though, assuming it will still generate proper Disc IDs =)

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE: The 'K' is for 'kick ass'
http://www.kde.org       http://promo.kde.org/3.1/feature_guide.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+wS4G1rcusafx20MRAqqhAJwIgp3rmzLt4Mh+oXx6DBcaOGZrsACfboEJ
14uIPOL01Ypk+OII6crIwIo=
=UWC5
-----END PGP SIGNATURE-----



More information about the kde-multimedia mailing list