iTunes - Growl scripts for rating, skipping, and artwork

Jul 30, '07 07:30:03AM

Contributed by: jaguarcy

I've posted some of the AppleScripts I use constantly to manage my iTunes library on my blog. Specifically, there's the standard rating/display info scripts that incorporate with Growl, and are designed to work with the very small Smoke notification window, displaying not only the title - artist - album, but also star rating, album art (as the notification icon), and the position of the playhead and total time.

Additionally, I have a script that skips ahead within the current song to either 25%, 50%, 70% or three seconds from the end, whichever is next from the current position of the playhead.

Finally (and most useful in my case), is a script that takes the album cover fetched by GrowlTunes (which is cached locally, but not set as the track's album cover), and sets the album cover of the song, but only if album art doesn't already exist for the currently playing song.

All of the above work seamlessly with Growl, and register with it as the Hotkey iTunes Notification application the first time one of the scripts runs. After that, each of Rating Change, Song Skipping and Song Info notifications can be managed separately.

[robg adds: I've created a single text file containing all three of the scripts and saved it here on macosxhints -- in case the linked post ever goes away. You'll have to split the one file into three separate AppleSripts if you wind up using the version here on hints. The linked post, though, should be your first stop for full instructions and the latest version of the code.]

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20070725064245962