shwango! blog
life, love and some other stuff…

What’s playing now…

Using httpQ with winamp, I now post the current track I’m listening to over on the side bar. It’s not 100% real time yet - wasted’s resources are a little low, but I’ve got a cron job running every minute to update the text file I’m including via SSI - yup, server side includes are alive and well! (The cron job calls a little perl script that queries my laptop via httpQ. Yeah, it could all be in the cron job, but I added a little logic for offline, etc.) I’ll probably put it in php later on today, but just wanted to hack something quick and dirty. I also hacked a similar perl script that I run locally to put fav track titles into a file - since most of the day I stream from 97X or other online stations it’s nice to have a reference.

I can’t remember where I saw it first, but I found out that iTunes has an SDK for Windows - “iTunes COM for Windows SDK“. So I might hack up some code to do the same thing with iTunes. And maybe put all my mp3 from iTunes in MySQL or something. (I want to do the same with my DVDs using the Amazon API, but have yet to actually get passed the “that would be cool” stage.)

And maybe someday I’ll get shwango radio running again…

For some reason I feel the need to push my favs out to the world! (I think that’s an idea shared by many!)

Comments are closed.