Smart Playlist based on file location?

Discussion in 'iPod' started by Mark Morb, Jul 3, 2008.

  1. Mark Morb macrumors regular

    Mark Morb

    Dec 19, 2007

    I store my Music libray on two external 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.

    Mark Morb
  2. JYRodgers macrumors newbie

    Jan 22, 2011
    My Solution

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

    I was able to create a solution using Hazel ( 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.

Share This Page