« Home | FDA 22 Lessons Learned » | FDA now part of the Home Recording Network » | Fantasic Free Plugins and Add-Ons » | FDA 20 Digitizing Records » | Interview with Chris Snyder of Darker Projects » | A review of the Sony MZ RH1 » | Triple Review: Mackie Mixer, DBX 266 XL, Edirol U... » | A Review of the Shure 55 SH Series II Dynamic Micr... » | Listener Questions » | Great Sound on a Budget: Compression 101 »

Sunday, November 12, 2006

You too can make the perfect itunes playlist

On last week's MacBreak Weekly, Alex Lindsey mentioned he wanted a way to make a new playlist in iTunes from a random selection of songs in other playlists. So say you have playlists called "Gold" - your favorite songs, "Indie" - independent artists, "Jazz", and "Blues". You want to make a new playlist with song from each of the 4 playlists mentioned above. Furthermore, you want to weight some playlists heavier than others so there are more song from that source playlist, for example "Indie" in the example above might contribute more songs that the other playlists. The script lets you decide how many items to add from each source playlist so you can weight them to your liking. This gives you a great mix of songs between your favorites and other great tunes you love but seldom listen to.

So I whipped up an applescript to do the trick. 3 caveats:
1. Its a bit slow. Randomizing the playlists takes a bit of time
2. It borrows heavily from the randomize script at Doug's Applescript for iTunes site
3. It will randomize the order of tracks in your playlists

Other than that it works great for me but, YMMV. This script has not been heavily tested.

Here is the link to download (do control-click save as or save link as). Save the file to [your home directory]/Library/iTunes/scripts. Then you can run from the script menu in iTunes.

Enjoy! Feel free to modify or embellish the script. I hope to make this an Applescript Studio application someday.

Bug report #1:
If you try to add say 12 songs to your new perfect playlist, and the source playlist has only 10 items, for example. You will get an error (obviously). The script should detect this though and warn you.


E-mail this post



Remenber me (?)



All personal information that you provide here will be governed by the Privacy Policy of Blogger.com. More...