MediaFile: read and write audio files' tags in Python
MediaFile is a simple interface to the metadata tags for many audio file formats. It wraps Mutagen, a high-quality library for low-level tag manipulation, with a high-level, format-independent interface for a common set of tags.
MediaFile is available on PyPI. Install it by typing
mediafile. It works on Python 2.7 and Python 3.4 or later. Then:
>>> from mediafile import MediaFile >>> f = MediaFile('Lucy.mp3') >>> f.title u'Lucy in the Sky with Diamonds' >>> f.artist = 'The Beatles' >>> f.save()
See the full documentation.