[ID3 Dev] MusicMatch Tags

Mike van Bokhoven mike at ambientdesign.com
Mon Jul 16 20:55:58 PDT 2007


Hi,

Looks to me like he's talking about ID3v1 specifically; I'd guess this is 
the wrong list to ask about v1 details anyway.

Mike.

----- Original Message ----- 
From: "Jud White" <jwhite at cdtag.com>
To: <id3v2 at id3.org>
Sent: Tuesday, July 17, 2007 3:26 PM
Subject: Re: [ID3 Dev] MusicMatch Tags


> why read the first 256 bytes? parse the data elements according to the 
> spec, ignore the frames you don't care about, and go from there.
>
> MusicMatch (along with itunes and wmp) stores some info in the COMM 
> frames. I don't suggest parsing it as anything other than a comment since 
> they don't publish their standard (to my knowledge)
>
> check out http://sf.net/projects/idsharp (my own, grab source from svn) or 
> taglib#, both are opensource c# libs.. if you're just doing it for the fun 
> of it then be prepared to get down and dirty with the spec and malformed 
> tags :)
>
> anyway to answer your question you should take a more structured approach 
> to reading the tags. if the first frame was an APIC that'd blow the 
> chances of finding artist/album/song in the first 256 bytes
>
> Daniel Eliades wrote:
>>
>> 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:
>>
>>
>> "ID3
>>
>> ------------------------------------------------------------------------
>> \0\0\0\0-COMM\0\0\0\0\0\0engMusicMatch_Tempo\0ModerateCOMM\0\0\0\0\0\0engMusicMatch_Mood\0UpbeatCOMM\0\0\0#\0\0\0engMusicMatch_Situation\0BackgroundCOMM\0\0\0#\0\0\0engMusicMatch_Preference\0Very 
>> GoodCOMM\0\0\0\0\0\0eng\0TMED\0\0\0
>> ------------------------------------------------------------------------
>> \0\0\0DIGTLEN\0\0\0\a\0\0\0245000TCON\0\0\0\0\0\0RockTRCK\0\0\0
>> ------------------------------------------------------------------------
>> \0\0\009TALB\0\0\0".
>>
>> 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 have.
>>
>>
>> Dan
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
> For additional commands, e-mail: id3v2-help at id3.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org



More information about the ID3v2 mailing list