How to read metadata from mp3?

c#, metadata, mp3

Solution

Use binary reader object. http://msdn.microsoft.com/en-us/library/system.io.binaryreader.aspx

example of common lisp (id3 parser): http://www.gigamonkeys.com/book/practical-an-id3-parser.html

Problem

I am trying to read the tags from mp3 files. I was wondering if anyone had any suggestions as to how to do this? I don't want to use a 3rd party library to handle the reading/organizing for me. The purpose of this is just for me to figure out how to read the encoded data? I know that there are primarily 2 different formats, ID3v1 and ID3v2. Really, my issue is just being able to obtain the information in a format that I can handle it. I have a couple ideas for actually storing the data I need and parsing the information once I get it. I mainly just need some guidance for how to collect the metadata in plain text.

Original source

Related problems