Re: Reading ID3 Tags
Re: Reading ID3 Tags
- Subject: Re: Reading ID3 Tags
- From: Gregory Weston <email@hidden>
- Date: Sat, 27 Apr 2002 20:50:51 -0400
On 4/27/02 at 3:10 PM, Jens Bauer <email@hidden> wrote:
>
> Hi! Does anyone know how to read MP3 id3 tags? Is it possible via
>
> QuickTime? If so how in Cocoa?
>
...
>
ID3 and ID3v2 tags are just plain text-strings stored in either the
>
beginning or the end of the MP3 file.
>
-Search google for the full specification on it.
ID3v2 tags are distinctly _not_ "just plain text-strings." It's a full tagged
data stream with an internal structure meant to support huge amounts of both
ASCII and binary data and specifically not be mistaken for MPEG data frames.
Best solution: www.id3.org. There are libraries. If you're looking to read a few
specific tags, it's fairly easy to put something together that can scan the
header and jump through the stream looking for the right data. I've got
something if you need inspiration, but it's not pretty.
G
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.