I am in the process of switching management of my iPod from my older XP desktop to my MacBook. For a couple of years now I have been using a homegrown Perl program to download podcasts, and then running the console version of
iTunes Library Updater as a scheduled task to automatically add them to the iTunes library. It's great -- works totally in the background, and when I sync my iPod everything is Just There.
I'd like to duplicate this process on my MacBook. The Perl script obviously ports fine, and I can schedule it using cron, but I can't find a way to automatically add items to the iTunes library. Some things I've considered:
-- iTLU is written in .NET, so that's out (unless it runs under mono -- but I fear that way lies madness.)
-- At
Doug's Applescripts, the suggested solution is to
add a folder action to the folder you want to watch. However, my understanding is that folder actions only work if the folder is actively being worked with in the Finder (open, having things dropped on it, etc.), so adding files to my podcast folder behind the scenes won't trigger a folder action.
-- There's a Mac::iTunes module on CPAN, but it looks pretty unfinished (for instance, under "Bugs" for Mac::iTunes::Library::Write it says "just wait".)
This is for a MacBook running Leopard. Any suggestions?
posted by xil at 2:16 PM on November 14, 2008