Created a Python module for ID3 MP3 tag manipulation
Hey, Pythoners! Just a quick announcement that I've created a
python module for easy manipulation of ID3 tags on MP3 files. These tags
generally involve the title, artist, and other information about the
Freshmeat, so I hope it can be of use to you all.
The home-page for the ID3.py module is at:
http://csl.cse.ucsc.edu/~ben/python/
A simple example of using the module:
from ID3 import *
try:
id3info = ID3('/some/file/moxy.mp3');
print id3info
id3info.title = "Green Eggs and Ham"
id3info.artist = "Moxy Fruvous"
except InvalidTagError, message:
print "Invalid MP3 tag:', message
More documentation is available in the source code to the module.
Enjoy!
Ben Gertzfield
--
Brought to you by the letters K and S and the number 2.
"I don't want the world.. I just want your half."
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/