ID3 tagging in python

It’s no secret that I’ve lost my love for PHP over the last 6 months as I’ve got to grips with Python. The power and simplicity of Python makes it almost impossible to go back – all those dollar signs and semi-colons make code hard to read and typos almost guaranteed, let alone the apparent random naming of functions, the difficulty of unit testing and the poor object orientation….

It was therefore a bit of a surprise to find that there’s nothing near the quality of the excellent getid3() PHP package for Python. There’s the extremely slim python-id3 (which is functional but very limited) and the relatively new but very promising pytagger. I’m trying to get access to my MusicBrainz tags (for yet more AudioScrobbler action) and it’s proving harder than I first thought. I may yet be writing my own 🙁