Scripting iTunes for the iPod, with Perl and Mac::Glue
I acquire new music at a relatively steady rate. I’ve been use my computer as a music library, storing my purchased music on a fileserver. Once I migrated to Macintosh, I started using iTunes to manage this process. It’s a useful solution, what small trouble I do have is usually related to my unusual configuration. I keep my music collection on an NFS filesystem, enough of a weird thing to do that I’m surprised iTunes doesn’t have more trouble with it.
A few years into this process I decided to get a portable audio player. An iPod was the obvious choice, despite the cost. Plug and go, lovely interface, Just Works™, all the usual. The 40GB model I went for was larger than my entire music library, compressed, to mp3 or increasingly to aac, with moderate settings. Synchonising is almost magically simple; set the iPod to sync ‘checked items’ and uncheck anything in iTunes you wish to exclude. I extolled the benefit of this approach to anyone who asked.
This approach will only scale so far. After several years of acquisition, the ‘checked’ set must exceed the 40GB capacity of the device. Luckily, by the time I reached it, Apple upgraded the iPod range, the new ‘classic’ guise, offering a potential 160GB storage. I toyed with one of these on display in a shop, but quickly gave it up unconvinced. I had misgivings about the new unit, foremost was the surprisingly sluggish interface.
posted Thursday, January 10, 2008 at 15:44 by cms in computers, music, programming | 3 Comments »