kfile_mp3 patch to support id3v2 tags

MadCoder pierre.habouzit at m4x.org
Fri Oct 25 20:15:58 BST 2002


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

the files are both in kdemultimedia/kfile-plugins/mp3/

This new version is fully compatible with the previous one, and works 
perfectly under 3.0.x versions.

its works so :
 * reading :
   - if there is an id3v1(.1) tag, let the old fashion
     that is pretty fast work.
   - if there isn't any, try to read id3v2.

 * wrinting :
   - if the new tag is not valid (to long headers for example),
     it writes an id3v2 tag, and strips the id3v1. if it's valid for
     an id3v1, it writes it, and strip id3v2.
   - if there is lyrics, it allways writes id3v2 tags.

this use id3lib, thats why i needed to modify the Makefile.am

what do you think about it ?
- -- 
MadCoder (51 57)

Linux, c'est comme la France, ce serait le + beau pays du monde s'il
n'était pas peuplé par des arrogants, suffisants pensants détenir
tout le savoir du monde...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9uZhuxB6ZXMmMkL4RAhdeAJ4irQ/vNUUjVBUejUbZ55QyLguWAQCfVTCA
PJe94frDHKIFxtW3qH7zA3U=
=tIXb
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfile_mp3.cpp
Type: text/x-c++src
Size: 11115 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20021025/1abbcd64/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.am
Type: text/x-makefile
Size: 618 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20021025/1abbcd64/attachment.bin>


More information about the kde-multimedia mailing list