Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ID3 genre tag

Name: Anonymous 2010-08-30 18:13

http://en.wikipedia.org/wiki/ID3

First, I don't want to use existing libraries because all I need to extract is the genre.

What's the best way to extract the genre on a mp3 file?
I got mine working by reading chunks of bytes until it found the string "TCON".
The problem is when there is no genre tag ("TCON"). It scans the whole mp3 file and will take a lot of time.
Another is when there is a picture embedded on the file, how can I skip it?
Also, i'm planning to use this on a mobile phone so speed really does matter.

Name: Anonymous 2010-08-30 21:02

>>10
What exactly do you think libraries are for?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List