Issue copying IDv2 TCON frames with a v1 genre reference

Lukáš Lalinský lalinsky at gmail.com
Fri Nov 13 23:00:14 CET 2009


On Fri, Nov 13, 2009 at 2:04 PM, patrick machielse <patrick at hieper.nl> wrote:
> I'm having some trouble copying ID3v2 genre tags wich contain refrences to ID3v1 genres. For example, a v2 genre frame referencing the v1 'Soul' genre looks like this:
>
> TCON (42)
>
> When copied to a new v2 tag, the frame is written out like this:
>
> TCON 42
>
> Which is interpreted as a custom genre "42".

It shouldn't be interpretted as a genre "42" by TagLib or any
application that supports ID2v2.4. The conversion it does is correct
-- TCON with a value "(42)" is the way to write ID3v1-style genres in
ID3v2.3, "42" is the way to do it in ID3v2.4. Writing "(42)" to a
ID3v2.4 frame would be incorrect (TagLib can only write ID3v2.4 tags).

-- 
Lukas Lalinsky
lalinsky at gmail.com


More information about the taglib-devel mailing list