Sharing iTunes Playlists with Subsonic
Posted: Thu Sep 16, 2010 5:17 am
The back-story:
I have a pretty large library, and my girlfriend uses iTunes to create awesome playlists, and sync with her iPod. Not having the musical prowess, or the time and patience to create my own playlists within subsonic, I wanted those playlists in subsonic.
So, the other day, I worked our I could right click a playlist in iTunes, and save it to a m3u file. Then when it was dropped in the appropriate folder, I could access from within subsonic.
However, we have 50+ playlists, and they get updated and edited on a semi-frequent basis. So how to get them into subsonic, and sync'd on a regular basis?
The solution:
I found the aptly named "iTunes Export" tool, and download the command line version:
http://www.ericdaugherty.com/dev/itunesexport/
I then setup a scheduled task that calls a batch file, with the following content:
Essentially this will auto-find your iTunes library, and dump out all the playlists to the specified folder. Default action is to overwrite existing playlists, so any updated playlists will overwrite the existing.
I've only had it running for a few days, but so far it seems to be working perfectly.
EDIT: Due to a number of PMs requesting more information, please see the screenshots below for more information!
The setup:
Windows left to right, top to bottom...
1. The task is scheduled.
2. The task is calling the batch file.
3. The c:\subsonic\getplaylists folder contains the batch file, and the itunesexport.jar file from the Console Application zip file.
4. The batch file contains the command.
Setting the playlist path in subsonic:
Accessing the list of playlists in subsonic:
If you have any questions, let me know!
I have a pretty large library, and my girlfriend uses iTunes to create awesome playlists, and sync with her iPod. Not having the musical prowess, or the time and patience to create my own playlists within subsonic, I wanted those playlists in subsonic.
So, the other day, I worked our I could right click a playlist in iTunes, and save it to a m3u file. Then when it was dropped in the appropriate folder, I could access from within subsonic.
However, we have 50+ playlists, and they get updated and edited on a semi-frequent basis. So how to get them into subsonic, and sync'd on a regular basis?
The solution:
I found the aptly named "iTunes Export" tool, and download the command line version:
http://www.ericdaugherty.com/dev/itunesexport/
I then setup a scheduled task that calls a batch file, with the following content:
- Code: Select all
"c:\Program Files (x86)\Java\jre6\bin\java.exe" -mx1024m -jar itunesexport.jar -outputDir="C:\subsonic\playlists"
Essentially this will auto-find your iTunes library, and dump out all the playlists to the specified folder. Default action is to overwrite existing playlists, so any updated playlists will overwrite the existing.
I've only had it running for a few days, but so far it seems to be working perfectly.
EDIT: Due to a number of PMs requesting more information, please see the screenshots below for more information!
The setup:
Windows left to right, top to bottom...
1. The task is scheduled.
2. The task is calling the batch file.
3. The c:\subsonic\getplaylists folder contains the batch file, and the itunesexport.jar file from the Console Application zip file.
4. The batch file contains the command.
Setting the playlist path in subsonic:
Accessing the list of playlists in subsonic:
If you have any questions, let me know!