473,657 Members | 2,801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8131
On Jun 2, 8:48 am, Veerle <veerleve...@ho tmail.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*********@ho tmail.comschrie b im Newsbeitrag
news:5e******** *************** ***********@l42 g2000hsc.google groups.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
2097
by: David Dvali | last post by:
Hello. What is Doxygen tagging and how it can be used for source code documenting?
0
1176
by: pizarropablo | last post by:
hi, i'm looking for code of tagging system like del.icio.us or flickr. excuse my english.
1
2641
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 into categories (basically, folders of information). This is needed to create a specific structure to all the content being entered. However, I'm seeing some benefit of also implementing a tagging system for each individual bit of content. This...
2
1668
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: http://atomiq.org/archives/2005/04/market_populism_in_the_folksonomies_debate.html http://www.rebeccablood.net/archive/2005/01.html#11technorati http://tagsonomy.com/index.php/semi-structured-meta-data-has-a-posse-a-response-to-gene-smith/ I have the sense that at least one goal of all this social search...
1
1550
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 choose the tag/attribute in the tree-structure, which then magically appears with your data enclosed? There must be, right? My assignment is to bring order to a truckload of stats from various Athletics events. For individual meetings, the...
2
1453
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 that tagging is more popular than the hierarchical browsing method currently offered by Cheese Shop. Are there efforts underway to support a tagging interface for the cheeseshop?
1
1682
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 to "Auto Tag" records with similar details - ie if they have the same Payee Name, or meet certain criteria such as same amount, and an identical reference number etc... (in effect they are repeating transactions) upon import. My tables (simplified)...
0
805
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 different programs that have a single database.
2
1943
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?
0
8302
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8820
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8718
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8499
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8601
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5630
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.