Mp3 tagging

V

Veerle

I want to write my own mp3 tagging software. Therefore I need to be
able to connect to FreeDb to retrieve song information. I also need to
be able to write to the ID3 tags of an mp3 file (v1 & v2) for the most
common tags: song title, artist name, album title, album artist, track
number, genre, comment and album artwork (cover). If I can find out
where iTunes (or other software) gets there album artwork, I will try
to do the same.

Anyone knows good code samples or libraries to start with? Thanks!

Veerle
 
K

kimiraikkonen

I want to write my own mp3 tagging software. Therefore I need to be
able to connect to FreeDb to retrieve song information. I also need to
be able to write to the ID3 tags of an mp3 file (v1 & v2) for the most
common tags: song title, artist name, album title, album artist, track
number, genre, comment and album artwork (cover). If I can find out
where iTunes (or other software) gets there album artwork, I will try
to do the same.

Anyone knows good code samples or libraries to start with? Thanks!

Veerle

For MP3 or WMA, check these out:
http://www.codeproject.com/KB/files/tagreader.aspx

(VB version, you can convert to C# for sure)
http://www.codeproject.com/KB/recipes/vbmp3header.aspx

Hope this helps,

Onur Güzel
 
K

Kerem Gümrükcü

Hi Veerle,

check this out:

http://sourceforge.net/projects/massid3lib

This one os cross-platform and standards-compliant,
so you should have no problems in adapting it to
..NET/C#: http://id3lib.sourceforge.net/

As long as there is code, you should be able
to port any language to .NET, because the
MP3 Format is just a ordinary Data Structure
that follows standartized rules where the rules
can be downloaded from everywhere in the
internet and standartization organizations.

Regards

Kerem

--
 
E

Eps

Kerem said:
Hi Veerle,

check this out:

http://sourceforge.net/projects/massid3lib

This one os cross-platform and standards-compliant,
so you should have no problems in adapting it to
.NET/C#: http://id3lib.sourceforge.net/

As long as there is code, you should be able
to port any language to .NET, because the
MP3 Format is just a ordinary Data Structure
that follows standartized rules where the rules
can be downloaded from everywhere in the
internet and standartization organizations.

Regards

Kerem

after trying out many different tag reader and writer libraries I came
to the conclusion that taglib sharp was the best in terms of both
features and compatibility, ymmv

http://www.taglib-sharp.com/Main_Page

unfortunately id3 tags are not as standardized as they should be.
Different applications have not always implemented them properly,
therefore anyone with mp3 files that come from disparate sources may
well find that certain files don't load or save without errors.

Interestingly, winamp does not seem to have many problems with id3 tags,
indicating that they have gone for the microsoft style compatibility
at all costs method. Personally I now try to replace any old files
(some dating back 10 years) that give me trouble.
 
E

Eps

Veerle said:
I want to write my own mp3 tagging software. Therefore I need to be
able to connect to FreeDb to retrieve song information. I also need to
be able to write to the ID3 tags of an mp3 file (v1 & v2) for the most
common tags: song title, artist name, album title, album artist, track
number, genre, comment and album artwork (cover). If I can find out
where iTunes (or other software) gets there album artwork, I will try
to do the same.

Anyone knows good code samples or libraries to start with? Thanks!

Veerle

http://www.codeproject.com/KB/audio-video/freedb.aspx

connecting to these services and getting data is not really very
complicated but there is no point re-inventing the wheel.

Are you familiar with MusicBrainz ?, there is a lot of information
there. There is also a media player called banshee written in c#, as a
part of the project there is a musicbrainz client library.

http://musicbrainz.org/

Lastly, last.fm's web services provide a lot of meta information about
music, I have written a client for this and am planning to open source
it at some point (tbh its trivial to write your own client so I would
just go ahead and do it).

http://www.audioscrobbler.net/data/webservices/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top