In article
<q2g...@ma...>, Rosa
Maria Durante <ro...@gm...> writes
>Hi everyone!
>
>I'm developing an id3 tag editor and i'm using id3lib. I have a problem with
>version 4 of id3v2: when i link a file and check its version this way
>
>audio_file.link("song.mp3", ID3TT_ALL);
>audio_file.SetSpec(ID3V2_4_0)
>cout << audio_file.GetSpec() << endl;
>
>i get -1 (unknown) instead of 3 (ID3V2_4_0). So i can't read the file's
>tags in this version.
>There is another way to read it and modify it?
>
>Thanks a lot.
>
Id3v2.4 isn't supported in the library. I did do a hack on mine sometime
ago to allow it to *read* those tags which are common to both v2.3 and
v2.4 in a v2.4 tag. Idlib is pretty much dead these days, I would
suggest using another library - taglib for example. I ported my code to
use this about 2 years ago.
--
== jon bird - software engineer
== <reply to address _may_ be invalid, real mail below>
== <reduce rsi, stop using the shift key>
== posted as: news 'at' onastick 'dot' clara.co.uk
|