Weird genre problem with taglib

Brian Kerrick Nickel brian.nickel at gmail.com
Mon Jun 26 01:53:46 CEST 2006


That is very definitely a bug in TagLib. Unfortunately, looking at the code,
there doesn't seem to be any real workaround. The genre will read correctly
once the file is saved and reloaded, but in the mean time genre will return
a number. You may want to set up a parser to read the text after TagLib has
outputted it, eg.  qDebug( TStringToQString( genreFixer( v2tag->genre() ) )
); where genreFixer is a pretty much copy/paste version of the version 4
case in genre ().

- Brian

On 6/25/06, Θεόφιλος Ιντζόγλου <int.teo at gmail.com> wrote:
>
> Here are the 4 first kb of the file and the last 128 bytes of the file
> that
> seem to have the tag. According to taglib the file seems to not have any
> ID3v2 tag at all but only a ID3v1 one.
>
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20060625/cecd944b/attachment.html 


More information about the taglib-devel mailing list