Reading (and writing?) audio file tags

Paul Moore p.f.moore at gmail.com
Thu May 24 12:45:44 EDT 2007


On 24 May, 17:22, darren kirby <bulli... at badcomputer.org> wrote:
> quoth the Paul Moore:
>
> > I'd like to write some scripts to analyze and manipulate my music
> > files. The files themselves are in MP3 and FLAC format (mostly MP3,
> > but FLAC where I ripped original CDs and wanted a lossless format).
> > I've no idea what form of tags are used in the files (ID3v1, ID3v2,
> > OGG, APE, ...)
>
> Flac files use Vorbis comments, the same that Ogg Vorbis files use. As for
> MP3, they use ID3v2 or ID3v1, or both.
>
> Anyway, what you want is Mutagen. It handles both Flac and Mp3 tags, as well
> as many others:http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen

Excellent! The web page you mentioned gave "access denied", but I got
to it via Google's cache, and the download link still worked :-)

It does seem to build a Windows installer quite happily, so that's a
great start. I'll see how it goes tonight.

Thanks for the pointer.
Paul.




More information about the Python-list mailing list