Menu

#44 id3v1 genre bug

open
nobody
None
5
2005-04-13
2005-04-13
Anonymous
No

I discovered that when requesting an id3v1 genre, a
certain range is broken e.g. SynthPop is stored as
decimal 147 in the file, and is also stored as decimal
147 in the string array (NullsoftID3GenreTable.java).
When the library reads the genre, it returns -109
because java uses a signed byte (-128 > 128). If the
number is negative, simply adding 256 should fix the
problem or bit shifting or some other funky method.

Cheers

roket.scyntist at gmail dot com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.