Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Need help in creating Playlist Folders off of the folder/sub folder structure in my PC

Hello

I have all my music organised in my music folder, the folders go pretty deep. So what I would like to do is copy all of the content to Itunes Library and maintain the same folder structure.


For examples here is what I have

C:\MyMusic\MyFavs\English Classic-> Songs

C:\MyMusic\MyFavs\English Pop-> Songs


C:\MyMusic\Hindi\Ghazaals\Singer1\-> Songs

C:\MyMusic\Hindi\Ghazaals\Singer2\-> Songs



The problem is when I drag the folder for example "MyFavs" to Itunes, it puts all the songs all together under the same playlist folder, thereby messing my organization.


Does anyone know if this can be done by means of scripts, or any tool (Free or paid) ? I just have way too many folders and subfolders to create them manually to maintain the order?


Thanks any help will be greatly appreciated

iPad, iOS 6.1.2

Posted on Mar 17, 2013 6:28 PM

Reply
35 replies

Mar 18, 2013 11:09 AM in response to sujas

Sorry, I didn't mean to impy there was already a solution. I'm proposing to build one specifically for you, unless you want to tackle the problem yourself. 😉


Which reminds me... Questions I was too tired to put into words last night. I'll probably make it work either way, but would I be right in thinking that each folder in your structure either contains media files or subfolders? A folder with media translates into a playlist. A folder containing subfolders translates into a playlist folder. For a mixture I'll need to create a playlist folder and then an additional playlist with the same name as the folder (I guess).


tt2

Mar 18, 2013 1:37 PM in response to turingtest2

Yes its a mix of both. Just to make sure that I am answering you correctly.

Here is my scenario

So for example


C:\MyMusic\MyFavs\English Classic-> (*.mp3)

C:\MyMusic\MyFavs\English Pop-> (*.mp3)


C:\MyMusic\MyFavs\*.MP3<====Example of both MP3 and Subfolders under C:\MyMusic\MyFavs as shown above


C:\MyMusic\Hindi\Ghazaals\Singer1\-> (*.mp3)

C:\MyMusic\Hindi\Ghazaals\Singer2\-> (*.mp3)


Thank you so much for your help.

Mar 18, 2013 1:54 PM in response to sujas

Great. In which case I envisage something like:


Hindi (Folder)

- Ghazaals (Folder)

- - Singer1 (Playlist)

- - Singer2 (Playlist)

MyFavs (Folder)

- English Classic (Playlist)

- English Pop (Playlist)

- MyFavs (Playlist)


Probably best to let you add all of MyMusic in one go, but avoid searching down into the iTunes folder if it happens to be there. Do you want everything to be added into a top level folder with the name of the source folder, e.g. a MyMusic folder enclosing Hindi & MyFavs (and whatever else is in there) or do you think the top level folder name should be ignored? (I can probably make that an option either way.)


tt2

Mar 21, 2013 7:08 PM in response to sujas

Hi, took a little longer than I thought it would but I've now created a script called ImportFolderStructure which should do what you want. Download the script to your desktop or downloads folder, then drag & drop the folder you want to import onto the script. It will create folders and playlists to match the structure on the drive. Empty folders will be ignored and where a folder has both files and subfolders there will be a playlist folder and a playlist. The same set of folders can be reimported as required when new content has been added without generating duplicates, although files that have been moved won't be removed from existing playlists.


tt2

Mar 24, 2013 3:33 AM in response to sujas

Hi, I don't have access to Windows 8 for testing. Line 978 is part of a routine that sets up a local web browser window in which the script creates a progress bar. That line attempts to hide the menu bar which may no longer exist in IE9 or IE10. I've moved that bit of code into an error trapped region so it should no longer crash the program. Download a fresh copy and see if it works now.


tt2

Mar 24, 2013 7:48 AM in response to turingtest2

Thanks so much for looking into it and responding so promptly. I downloded the fresh version and I got a slighlt different type of error except this was on line 985.


Here is what it says

Line 985

Char 7

Error: The object invoked has disconnected from its clients.

Code: 80010108

Source Null


From your previous response, I made a small change I set the variable "prog" to false and ran a simple test it looked perfect.It worked!!!!


So my question is if I set it to false, other than the dispaly bar is there anything else I am going to miss?


I just wanted to confirm with you.


Again thanks for your help.

Need help in creating Playlist Folders off of the folder/sub folder structure in my PC

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.