Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mark Morb

macrumors regular
Original poster
Dec 19, 2007
186
0
Norfolk
Hi,

I store my Music libray on two external drives....is it possible to have iTunes creata a smart playlist based on where the music is? i.e Music Disk1, Music Disk2? There's lots of fields you can use for smart list but file location does not seem to be one.

Thanks,
Mark Morb
 
My Solution

I couldn't find a way to do this within iTunes.

I was able to create a solution using Hazel (http://www.noodlesoft.com/hazel.php). Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create. It has a free trial but I would suggest paying the $22 for the full version, it is worth every penny.


So, once you've installed Hazel create a new regular playlist in iTunes, I called mine "Found on Music Disk1".

Open Hazel and select your Music Disk folder when creating a new rule. Here are the rules to create:

1. Description "Run rules on folder contents"
-if all of the following conditions are met:
- Kind is Folder
- Do the following: Run rules on folder contents

2. Description "Scan and add to playlist"
-if all of the following conditions are met:
- Extension is mp3
- Import in iTunes to playlist "Found on Music Disk1"

In Hazel click on the sprocket icon and choose "Run Rules Now". This will add all of the mp3s found on the Music Drive into the playlist you've created.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.