Skip to content

One Thing that I Dislike about the iPod

It doesn’t update my “Now-Playing” list (now on the right side of my weblog).

Normally, I have an invisible Applescript thing that queries iTunes every 10 seconds and, if the song has changed, it records the song name, artist, album, and my rating. It forms that information into an XML-RPC call (redundant, I know) to the server here, which pops the information into a database.

The iPod does keep track of what songs are played when, and obviously, my computer, via iTunes, keeps track of the other information. So making this work would be a matter of sucking that what/when info out of the iPod (does it record multiple playings of a single song or only the most recent?) when it syncs, merging it with the info from iTunes, and then sending a whole bunch of RPCs to the server.

Yeah. That’s a bit more involved than what my script does now (well, it’s not doing anything now since I’ve stopped listening to music in iTunes, but…). If getting this information is even possible (not sure what’s available via Applescripting, er, OSA), it will still take a bit of time. This is one of those things that may not get done… Unless, of course, someone else has written something similar that I can piggyback on…

(Hmmm…this really isn’t a problem with the iPod so much as my laziness)