Patch for kdemultimedia: Make libkcddb find multi-id files in local cache
Tilman Vogel
tilman.vogel at web.de
Sat Nov 4 19:09:26 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Some cddb/freedb records relate to multiple disc ids. These have DISCID
fields like
DISCID=9d0a830c,a30a830c
instead of
DISCID=9d0a830c
Accordingly, libkcddb caches those locally in files like
~/.cddb/misc/9d0a830c,a30a830c
Without the patch, libkcddb is doing the lookup for records in the local
cache by looking for, e.g.
~/.cddb/*/9d0a830c
which obviously fails in this case.
The attached patch changes the search such, that it adds all records
matching
~/.cddb/*/*9d0a830c*
I hope, you find it useful. I'd be glad if you could include it.
Cheers,
Tilman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFFTOVm9ZPu6Yae8lkRAlcsAJ4/wbnqrKA+/D6RTgMGBHuRvt4i5ACcCdd9
+9y3coNqt/fQy43yCIXDQeE=
=IBq2
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libkcddb-multiid-cache.diff
Type: text/x-patch
Size: 1487 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061104/6087f327/attachment.bin>
More information about the kde-core-devel
mailing list