Jump to content

Import iTunes Playlist


yaksplat

Recommended Posts

yaksplat

I found a script at iTunes | Scripts for iTunes for Windows (samsoft.org.uk) that will export a selected playlist from iTunes .  I modified it to handle the possibility of iTunes and Emby being in different locations and replacing paths within the m3u file.  You can update lines 97 -99 to make it work for your setup.

OriginalPath ="U:\" 'original path in the m3u file to the location of each song
NewPath = "..\" 'updated path that emby uses
Output="U:\playlists" 'destination of the script should be a folder in your music library that gets scanned

Have iTunes open, select the playlist and run the vbs script.  It will create and place the playlist in the music library.  Upon the next scan, the playlist will show up in your library.  Not the best option, but better than doing it all manually.  This will overwrite existing m3u files, so if you update the playlist in iTunes, just rerun the script.

ExportPlaylist.vbs

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...