Saturday, January 28, 2006

A little hack for all of you allofmp3.com users...

If you buy music from allofmp3.com, you may have noticed that their mp3 and ogg files aren't tagged with the track number. This has annoyed me for months, so I wrote a program to fix this problem (for the mp3 side of it, anyway).

Here's how to use it:
  • Download ID3.py and FixAllofMp3Tracks.py from here
  • Buy some stuff from allofmp3.com
  • Download and install Python (if you haven't already)
  • Open up a console/command line (this has been tested in windows and os x, and I'm sure it'll work in Linux), and run this command:
python FixAllofMp3Tracks.py [dir with music in it]
The tracks you download from allofmp3.com have the track number in the filename, so it's just a matter of grabbing that value and adding it to the tag, which is just what this thing does. You can pass it a huge directory tree full of mp3 files and it will walk the whole thing, only fixing those songs that are missing the track number. Simple, but pretty cool (I think).

Anyway, hope somebody out there will be able to use this. If anybody has some suggestions for "features" or whatever, email me - but please know that this is just something I hacked out quick-n-dirty style, so it's not going to mature much past it's current state.

Enjoy.

3 Comments:

At 11:56 AM, February 02, 2006, Blogger Brett said...

thanks for the relevant comment.

 
At 12:27 PM, February 02, 2006, Anonymous Anonymous said...

I own the trademark to Geekology.

Give up your title or you will feel some my 13 year old wrath!!!

 
At 12:57 PM, February 02, 2006, Blogger Brett said...

thanks for the relevant comment.

 

Post a Comment

<< Home