husk.org / blog. chaff. occasional witterings.

2004-09-16

freshtunes.pl

perl 16:50:46

Richard Clamp's excellent work on the Net::DAAP::Client - allowing Perl scripts to connect to iTunes shared libraries, even if they use one of the various authentication schemes that Apple have implemented since iTunes 4 was introduced - has led to a rash of little apps in our office.

freshtunes.pl is a little utility script that finds all the iTunes shared libraries that are advertising on Rendezvous, connects to them, and then lists all tracks on that share that are under a week old. (Technically, that is 'have been added to the iTunes library within the last week'. If someone just rebuilt the library, this will be quite verbose.)

Of course, it should probably take the interval during which it's looking for tracks as a parameter, and perhaps listing what's been updated in your own library is a little silly, but hey, that's what you get for a quick and dirty script. It's got the typical Perl licence, though, so that's OK: you can fix it.

navigation.