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 ().
<br><br>- Brian<br><br><div><span class="gmail_quote">On 6/25/06, <b class="gmail_sendername">Θεόφιλος Ιντζόγλου</b> <<a href="mailto:int.teo@gmail.com">int.teo@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here are the 4 first kb of the file and the last 128 bytes of the file that<br>seem to have the tag. According to taglib the file seems to not have any<br>ID3v2 tag at all but only a ID3v1 one.<br><br><br>_______________________________________________
<br>taglib-devel mailing list<br><a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/taglib-devel">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br></blockquote>
</div>