PMP out of the blue!

December 23, 2008

Today I was really bored in work  (ok Christmas is coming -in fact Christmas HAS JUST COME ), so I started browsing the web.

For some months now, maybe a year, I keep saying that someday I will sit down and write a CD/DVD(/MP3 mayb) organizing program. The number of my music CDs has turned big enough and I would like to know every time where are my CDs (lend to somebody or anything) what tracks they have (“do you have This track?”) and have some data for statistic reasons, for example which period of my life I used to buy many CDs, how have the prices gone, which CD shop is the most expensive and so on.

parser

Anyway, as regards this project, I have done nothing. Except PMP today! I thought that checking a new album in the (not ready yet :P ) database with the names of the tracks and all the other info would be time-consuming (and boring, thus inapplicable), so I decided to make a parser to retrieve as much data as possible from gracenote.com, which appears to be the most accurate and complete music database in the internet. I spent some hour and here is Php Music Parser.

It works like this: you ask for an album, it searches over the gracenote.com database, it brings you back all the results, you specify which album you want in particular and it outputs its info. Of course, since it will be passed into my (wannabe) project, it has no interface, only the class, that it is.
I upload the code here (right-click, save as, and then rename to take out the .pdf, stupid blog won’t let me upload .txt/.php). It is under CC by-nc-sa :D

The photo “websitegraph for www.rsv-arloff-kirspenich.de” is fester_franz’s under CC-by.