ID3.py is an object-oriented Python module for manipulating the so-called ID3 informational tags on MP3 files, which include such data as artist, track title, genre, et cetera. ID3.py is extremely easy to use, and is intended for folks who are developing MP3 encoder wrapper programs or browsers in Python.
|Tags||multimedia Sound/Audio Players MP3 CD Audio CD Writing|
Release Notes: A new dictionary-based interface, compatible with the ogg.vorbis module, was written. The default genre is now 255 if not specified, instead of 0 ("Blues"). id3-tagger.py was rewritten to use the new dictionary-based interface, which simplifies the code a lot.
Release Notes: Overload the ID3 constructor to allow passing in either a filename, or an already opened file along with a filename. It no longer repeatedly opens/closes files, but just opens in r+b mode right at the beginning, and does flush() if necessary to make sure we have the old functionality. Example id3-tagger.py was changed to properly do an explicit ID3.write() call if something is changed, to catch and print exceptions nicely.
Release Notes: ID3v1.1 (track number) support, new README, CHANGES, and COPYING files, and a setup.py file for Python 1.6 and Distutils users.