Saturday, November 01, 2008

mp3 metadata


iPhone music is pretty cool isn’t it. Specially there are lots of free mp3’s out there. It is only inconvenient though to download an mp3 and find that iPhone have blank author name, album and song title. Pretty much the only thing that has a value if the mp3 file name, sounds common, eh? Well I found a nice tool that enabled a geek like me and probably like yourself to edit the mp3 tags from the command line, don’t you just like the command line?

This tool is called Id3, and can be found at
http://home.wanadoo.nl/squell/id3.html

This page also contains a bunch of very useful commands for this tool and the one I certainly use the most is

for %x in (*.mp3) do id3 -a "MyArtist" -l "AlbumName" -g "MyGenre" -t"%f" %x

This command will iterate through my music and change the artist, album name and genre to the ones I specify and then use the file name as the title.

I do this with the music I download off of the internet and they usually lack title, artist and/or album