Writing ID3 v2.3 mp3 metadata in Python

I wrote a small wrapper for Mutagen that makes it easier to read/write audio metadata (tags for mp3, ogg, flac, m4a/mp4) in Python. Here's an example:
    o = EasyPythonMutagen('file.mp3')
    o.set('title', 'song title')
    o.save()
    o = EasyPythonMutagen('file.flac')
    o.set('title', 'song title')
    o.save()
    
    o = EasyPythonMutagen('file in id3_v23.mp3', use_id3_v23=True)
    o.set('title', u'title with unicode: \u0107')
    o.save()
    
    print(get_audio_duration('file.mp3'))
    print(get_empirical_bitrate('file.mp3'))

A few differences from Mutagen:

It'd be nice to add id3v2.3 support in EasyID3 to the mutagen project at some point. In the meantime I'll use this wrapper.

See the source and download it on GitHub.

Other small features of easypythonmutagen: