We use the id3lib stuff - I believe this checks for a v2 tag and falls back to the v1 tag if no v2 is found.

It's the same lib as used in winamp, musicmatch, etc.

Hugo