AW: [ID3 Dev] MusicMatch Tags

Mathias Kunter mathiaskunter at
Tue Jul 17 04:12:37 PDT 2007


I don't know which version of ID3v2 tags MusicMatch uses. Maybe the ID3v2 version is user configurable in MusicMatch.
Anyway, reading the ID3v2 tag from the begin of the file and searching for the frame header textually is the completely wrong way. It may work if you're lucky. It may not work for many other files. Don't do it this way.
To correctly read an ID3v2 tag, you have to read in the tag header, check the major version (either 2, 3 or 4) and parse the rest of the tag according to the tag specifications on for the read ID3v2 version. Basically, you have to read in the byte sizes from the frame header and seek from frame to frame with the size info. Note that each ID3v2 tag version (2, 3 and 4) uses a slightly different format to store the frame size.


----- Ursprüngliche Mail ----
Von: Daniel Eliades <daniel_eliades at>
An: id3v2 at
Gesendet: Dienstag, den 17. Juli 2007, 04:59:33 Uhr
Betreff: [ID3 Dev] MusicMatch Tags


 _filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
a:link, span.MsoHyperlink
a:visited, span.MsoHyperlinkFollowed
	{font-family:"Calibri", "sans-serif";color:windowtext;}
 _filtered {margin:1.0in 1.0in 1.0in 1.0in;}

Hello All,


I am writing a utility in C# to read the artist, album and
song from ID3v1 and ID3v2 tags.  I am pretty new with ID3, so this may be
a stupid question.  Reading an ID3v1 tag is pretty straight forward,
although I am having some difficulties when it comes to the way Music Match
tags songs.  Basically what I did in my program to read the artist,album
and song from the tag was to read in the first 256 bytes of the file and search
for the frame id then went from there.  This seemed to always work until I
came across a file that seems to be tagged from Music Match.  This is what
the string says from reading in the first 256 bytes: 







Does Music Match use a different format of ID3 or am I
totally going about this wrong?


Thanks for your input and any suggestions/advice you may



      __________________________________  Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ID3v2 mailing list