SUMMARY: Complete Guide to Importing Playlists From iTunes to Plex Server for Windows
For those following this thread, here is a complete summary of how to setup Plex and iTunes to allow for the importing of playlists from iTunes to Plex.
Currently, as of September 22, 2018, the version of iTunes installed from the Microsoft Store is not working properly with Plex. You may be able to do an initial import of the playlists from iTunes, but the option to perform future imports will not appear within Plex. I’ll address this further below.
iTunes should be installed in the default location, but the music library does not need to be in the default location.
Initial Preparation
If iTunes is not already installed, install it. If iTunes is already installed, you need to make sure that you have the desktop version installed, NOT the version from the Microsoft Store.
If you already have iTunes installed, determine the version installed by any one of these methods:
- Open iTunes. Select Help > About iTunes. Look at the version number. You will see something similar to one of these (Your version may be different):12.9.0.167 < This is the Windows Desktop version
or
12090.167.37085.0 < This is a Windows Store version
- In Windows, click on Start > Settings > Apps > Apps & Features. Locate iTunes in the list of apps and click on it. Under “iTunes”, if you see the words “Advanced Options” then you have the Windows Store version.
- In Windows Search, type in “iTunes”, without the quotes. It should find the iTunes app and say either “Desktop app” or “Trusted Microsoft Store app”.
- Open the Windows Store app and search for iTunes. When you find the app, there will be a button that says either “get” or “launch”. If it says “launch” then this implies that you already have the Windows Store version installed.
If you have determined that you have the Windows store version, uninstall it.
If you need to install the desktop version, do the following:
- Go to www.itunes.com.
- Click on the “Download” link.
- Do NOT click on the “Get it from Microsoft” button. Instead, scroll down to where it saysLooking for other versions?
MacOS > Windows >Click on that “Windows” link.
- Scroll back up again and click on the “Download now (64-bit)” or “Download now (32-bit)” button.
- Install iTunes from the file you just downloaded.
Note: If you have your iTunes Library in a non-default location, you may not see your library when you open iTunes after the re-install. To correct this, close iTunes, then reopen iTunes by holding down the “shift” key while double-clicking the iTunes icon. A dialog box opens asking you to create a library, choose a library, or quit. Select " Choose library…" and point it to your existing library. The library file is usually in the root of your iTunes directory and is called “iTune Library.itl” by default.
- In iTunes select the “Edit” menu at the top of the screen, select preferences, go to the Advanced tab, make sure that “Share iTunes Library XML with other applications” is selected.
Setting up Plex
Go into Plex > Settings > Plugins and enable the iTunes Plugin.
OPTIONAL: Plex should be able to find the location of the iTunes library automatically, but if you show the advanced settings on this page in Plex, you will see a field in which you can specify the path to the iTunes Library XML file. Type in the path to the XML file without quotes and without the filename. As an example, if you have iTunes installed on D:\iTunes then D:\iTunes is the path to specify. You should see a file called “iTunes Library.xml” in this directory.
Restart Plex for this setting to take effect.
Note: I’ve noticed that when I look at this field later, after setting up Plex, Plex may automatically add the filename to the path. That’s okay.
You should now have a “…” menu to the right of “Playlists” in Plex. Selecting that menu will give you an option to import from iTunes.
Note: For the import option to work you should already have your music Library created in Plex. If you have no libraries created, then trying to import playlists will result in an error.
When you first create the library in Plex, on the Advanced tab of the “Add Library” screen, make sure to select the “Import from iTunes” checkbox. If you already created the library without importing, simply click on the “…” to the right of “Playlists” and then select “Import from iTunes…”