eventualbuddha / march

Discipline for your music.

This URL has Read+Write access

march /
README.markdown

March

March is discipline for your music. The goal is to be able to turn your MP3 and AAC songs into fully-tagged, respectable citizens of your iTunes library despite how badly they may be tagged now. It uses two great services to do its thing: MusicDNS to generate the PUID, an acousitc identifier for a song (generated without reference to any tags in the file) and MusicBrainz to do use PUID to get track information.

I haven't figured out exactly what I'm going to do with it yet, but the idea for now is to make it a library suitable for use in an application to tag my miscellaneous MP3 and AAC files that don't have tags yet.

This has only been tested on Mac OS X, but both genpuid and mpeg4ip claim to work on Windows and Linux, so those OSes may be in the cards.

Requirements

  • Ruby
  • _why's Hpricot gem
  • MusicIP's genpuid. Version 1.4 ships with March, so don't worry about this one.
  • MPEG4IP's mp4info and mp4tags binaries, which come as part of the mpeg4ip MacPorts install.

Getting Started

As of right now it doesn't do anything too useful -- the pieces have yet to be strung together. It comes with a simple example script:

march-$ ./examples/lookup-track `util/get-posix-path-of-playing-itunes-song`
PUID: 26ec9a76-c573-9fc1-3851-d50e8d76fd06

(1) “Ten Speed (of God's Blood & Burial)” by Coheed and Cambria
    Appears on: Good Apollo I'm Burning Star IV, Volume One: From Fear Through the Eyes of Madness

The get-posix-path-of-playing-itunes-song is a simple script that, on OS X with iTunes playing a file on disk somewhere, gets the path of the file being played.