473,408 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Mp3 tagging

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
Jun 2 '08 #1
4 8106
On Jun 2, 8:48 am, Veerle <veerleve...@hotmail.comwrote:
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
Jun 2 '08 #2
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

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
"Veerle" <ve*********@hotmail.comschrieb im Newsbeitrag
news:5e**********************************@l42g2000 hsc.googlegroups.com...
>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

Jun 2 '08 #3
Eps
Kerem Gümrükcü wrote:
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.
Jun 2 '08 #4
Eps
Veerle wrote:
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/
Jun 2 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David Dvali | last post by:
Hello. What is Doxygen tagging and how it can be used for source code documenting?
0
by: pizarropablo | last post by:
hi, i'm looking for code of tagging system like del.icio.us or flickr. excuse my english.
1
by: darrel | last post by:
Has anyone built a tagging system for their .net application akin to way flickr or del.icio.us implement it? We're building an internal CMS and all of the structured content will be organized...
2
by: Jake Barnes | last post by:
Reading over this debate I came to realize that RSS is too limited to mediate against the weaknesses and failures of social search: ...
1
by: Jana | last post by:
Is there an XML-editor that can assist you in marking up the data in an urformatted text document, such that you mark the data and then right-click to access the Schema you have assigned, and...
2
by: metaperl.etc | last post by:
The first thing I look at when examining a module is how often it is updated. Unfortunately, the entries there dont show this. Eg: http://www.python.org/pypi/PySimpleXML/1.0 Second, it seems...
1
by: gojoe101 | last post by:
Hello, I have a tagging database, that allows me to apply tags to transaction records. The transaction records can have none or several different tags applied to them. I would like to be able...
0
by: bluethunder | last post by:
I have a problem regarding in printing the stored information in the database. I must use a tagging code to print the information that i needed to print. The information in database are came from...
2
by: sidhubhatia23 | last post by:
i Need help with photo tagging. but i am nto too sure how to do that. i am trying to get the tagging work like it works in face book. can some one help?
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.