Jump to content
  • Advertisement
Sign in to follow this  
EmrldDrgn

ID3 Tag Reading (and Writing) Library

This topic is 4142 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Looking for a library to help me read ID3 tags from an MP3 file, and preferably write them back again (although it's not necessary). Anybody know of such a thing, or should I start writing my own? I'm confident I could do it, but it'd take longer than I really want to spend on this project. [Edited by - EmrldDrgn on March 19, 2007 5:17:06 PM]

Share this post


Link to post
Share on other sites
Advertisement
EyeD3 is a really nice to use python library that worked nicely last time I needed to do something like this. It makes things easy (examples borrowed from the page listed above). Took about 15 minutes to remove the configure scripts and modify it to get it going on windows


import eyeD3
tag = eyeD3.Tag()
tag.link("/some/file.mp3")
print tag.getArtist()
print tag.getAlbum()
print tag.getTitle()

# write to cached representation
tag.setArtist(u"Cro-Mags")
tag.setAlbulm(u"Age of Quarrel")
# write to file
tag.update()


Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!