matt's debates

because matt's debating is not a crime

iTunes Playlist Creator Applescript

Here’s an Applescript I wrote. Basically, select a playlist in the left menu (e.g., My Top Rated) run this script and it will create a playlist folder with a playlist for every album (and every track in that album) for each album in the playlist. Make sense!?

I wrote it because the way I keep track (so to speak) of tunes I like is by rating them as 4 or 5 stars – which makes them appear in the My Top Rated smart playlist. But I also hate having incomplete albums on my iPod, so this is a simple way of syncing your My Top Rated, and all tracks of the albums in it.

Probably needs iTunes 8 or greater (or whenever playlist folders were introduced) and if it destroys something, it’s not my fault! It will also delete an existing playlist folder, so you can regenerate the folders as required.

Download here.

4 Responses to “iTunes Playlist Creator Applescript”

  1. Gary said on August 13th, 2009 at 6:17 am:

    Hi Matt,

    I truly hope you can help. :-)

    I have been trying to find a tool to add to my itunes, that will automatically go through the entire library and make playlists based on the artist’s name, and hopefully have the ability to be run again at a later date (i.e. sync all the playlists with all tracks by a particular artist).

    Is it even possible to do what I’m trying to do? :-)

    Thanks in advance for your time.

    Gary

  2. Matt Thornton said on August 13th, 2009 at 7:20 am:

    Gary… are you using iTunes on Windows or Mac? If it’s Mac then it’s definitely possibly… first port of call is “doug’s scripts” – I bet there’s already a script that’ll do this for you. Not sure about the auto sync-ing bits… but I just rerun my scripts every now and then. If you can’t find the script there let me know and I’ll write something for you.

    If it’s Windows then… not sure.. sorry!

  3. matt’s debates » Blog Archive » Is this new, or am I an idiot? said on September 12th, 2009 at 10:36 am:

    [...] while back i posted an Applescript for iTunes which basically took a playlist of tracks, then created a playlist folder which [...]

  4. Tom said on March 18th, 2011 at 11:41 pm:

    Thank you! I’ve got a huge live archive collection and I didn’t want to go through and make albums for each one. I’ve been looking for something like this for quite a while. Thanks so much!