Sign in to follow this  

ID3 Tag Reading (and Writing) Library

This topic is 3957 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
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