20

I'd like to be able to base playlists in iTunes on a folder on my hard drive.

For example, say I have this directory structure:

C:\MP3s\Doctor Who Music
C:\MP3s\Star Wars Music

Importing all those MP3s into iTunes is really simple - at the bare bones version you can just drag the MP3 folder into the iTunes window and it does the rest.

But, having done that, what I'd like to be able to do is point iTunes at each of those directories and have it turn them into their own playlists, so I end up with a Doctor Who Music and a Star Wars Music playlist based on the MP3s locations on the hard drive.

Does iTunes have a way to do this, or is there a way to trick it into this with some other program?

(I'm on Windows, but I'm sure Mac users would also appreciate answers to this as well.)

Electrons_Ahoy
  • 2,561
  • 4
  • 30
  • 36

7 Answers7

15

Its really simple with iTunes 9. iTunes 9 has a Playlist Folder in itself. All you have to do is drag a particular folder in a particular location onto the playlist pane. It will create an entire playlist based on files only in that particular folder. CHEERS!

user12248
  • 151
  • 3
2

If you make an empty playlist and then drag the folder from the harddrive over that playlist, it will load all that music in that playlist.

2

In iTunes you may be able to create a SmartPlaylist that filters on Album or Artist. There doesn't appear to be a way to use the folder to filter the list.

Chris Nava
  • 7,195
  • 1
  • 27
  • 31
2

I had the same problem and didn't find a way to solve it in internet. So I decided to write a simple app that help us to re-create our folder lists 'mp3s' into iTunes. It's a simple program written in delphi, here is the link on how to use it and here the link directly to the (not installing) app.

soandos
  • 24,206
  • 28
  • 102
  • 134
1

Use The GodFather to change the comments field of a song to the folder name. You can then create a dynamic playlist in iTunes that evaluates the information of the comments field.

Downside: before you add new songs to iTunes you have to do this step. Perhaps you can do this with scripting in The GodFather or with Visual Basic and iTunes directly.

Gaff
  • 18,569
  • 15
  • 57
  • 68
FxFx
  • 11
  • 1
0

Aha, found a solution.

iTunes doesn't seem to be able to do this, but WinAMP will.

So, enqueue all the MP3s in question in WinAMP (generally, the easy way is to right-click on the folder itself and choose "Enqueue in Winamp".) Save the resulting playlist as an M3U.

Create a new (and empty) playlist in iTunes.

Drag the M3U from Windows Explorer into the empty playlist and viola.

There is one catch - save the M3U in the same folder as the music files - otherwise WinAMP will put relative paths in the M3U rather than just the file names, and this will cause iTunes to think these are new files, even if you've already imported them. If the M3U doesn't have paths, just the file names, iTunes will recognize which files it already has imported and will act accordingly.

Electrons_Ahoy
  • 2,561
  • 4
  • 30
  • 36
  • This is of limited usefulness (for me at lesat), as the iTunes playlist won't keep up when the directory content changes... A more dynamic solution would be nice if you want to use the filesystem for organising music. – Jonik Aug 19 '09 at 18:49
  • @Jonik: agreed on all points. This can't be the best solution, it's just the only one I've found so far. – Electrons_Ahoy Aug 19 '09 at 19:06
0

In OS X you can write a AppleScript to do what you want, e.g. my DiskHierarcyToItunes you can find at http://vladalexa.com/scripts/applescript/itunes/ Possibly you could do this on a mac then export that library to iTunes on windows.

valexa
  • 141
  • 5