ScummPod!
Sunday, August 28th, 2005So I’ve purchased a 4gb iPod Mini and started using EphPod 2.75 to manage the music on it. Recently I found that EphPod will export the iPod’s playlist as a Comma Seperated Values file, which is easily imported into, say, a MySQL database. So, a little Regular Expression love on the file (to remove all the extra crap fields) and importing the CSV file via SQLYog (a nice, free graphical front end for MySQL) and I have a nice database of information sitting on my server.
At this point I whipped up a fairly simple PHP script that would take all the entries in my iPod Playlist Database and format it nicely for a browser. I then decided that the table should be sortable by either Genre, Artist or Album. So that gets implimented. After I add the sorting, I decide that the Artist Name on the default sort should link to a music site with information about the artist. After doing a little digging, I decided that WikiPedia would be the easiest to link to. A couple of the artists (say, Tool for example) are a little too vague, so it links to the non-musical WikiPedia entry, but for the most part it works quite well. A day or so later, I decided to add the same functionality to the Genre sort. That was surprisingly easy, since (for the most part) I could just add “_music” to the end of the genre, and it linked to the proper page at WikiPedia. The only exception was for “Psychobilly”… The entry wasn’t suffixed with _music… it was just Psychobilly. So I had to write a little exception to ignore that specific Genre.
But now I can unveil a fairly-functional ScummPod On-Line Playlist site! I’m going to continue tweaking this, and adding more features over time. But as of right now, it works great
