I realize there are a bunch of iTunes playlist topics on here, but I didn’t see one mentioning this. I’ve got a large music library - I’m not interested in deleting it and starting over (it takes DAYS or WEEKS to process everything). But I have some updated playlists on iTunes that don’t update on Plex, so I tried this function :
Playlist import from iTunes - and I check the “overwrite existing playlists” button
I let it run for HOURS and nothing seems to be happening. I looked at the logs and this is what I think is the relevant portion :
As there seems to be no way to simply import an m3u playlist easily into Plex without purchasing some program or another It would really be nice if this worked.
Is there a way without deleting a rebuilding my entire music section?
It looks like you may be experiencing the same issue that has been happening to me. From your logs, the sectionID in the request is getting sent in as “null”, which will cause the import/re-import to fail. This is caused by an issue in the Import From Itunes interface that tries to search for any sections in your server that are Music sections, but fails to find any. Without going into too much detail, I’ve outlined the steps to a workaround that has allowed me to get this to work until the issue is fixed.
Login to your Plex Web interface
Click on your Music library (not playlists)
Click on the action menu and select Manage Library -> Edit
The Edit Library window opens, but you can just close this without making any changes
Without refreshing your web browser, click on your Playlist section
Click on the action menu and select Import From Itunes (you probably want to select “Overwrite existing playlists” so that you don’t get duplicates)
If it all works you should see a success message after the import is done. Hopefully this works the same for you as it did for me.
Have you enabled and configured the iTunes plugin? Do you see your iTunes music listed in your Music library? If not, that will need to be configured first before you can import the iTunes playlists. It took me a bit of messing around with the iTunes XML path before anything showed up originally.
wow, I have no idea why but this WORKS, i was pulling my hair out trying to get this to work as I had previously gotten it to work one time randomly (must have accidentally followed those steps) but ever since I was getting errors.
Thanks for the reply. I have iTunes enabled and I am sure it is the path I am struggling with. I have Plex installed on a QNAP NAS, and have tried just about every path my pea brain can image.
What makes sense, to me, is to emulate the path of my music folder, which is: /share/CACHEDEV1_DATA/music.
The iTunes XML is in /share/CACHEDEV1_DATA/music/iTunes. I have tried the full path, abbreviate paths, and things in between. I had even pointed to the specific file name iTunes Library.xml.
Perhaps I am missing something obvious, but thanks to anyone that can solve the issue.
It took me a little bit of work to get that working as well, since I also have my iTunes XML on a networked drive. I’m currently using the full path to the .xml file in the iTunes library XML path field (e.g. /shares/Music/iTunes/iTunes Library.xml) and that is working for me. I also had to change the permissions on the file/folder, since I believe Plex is running as an unprivileged user.
In some other posts I’ve seen, it sounds like you may need iTunes installed on the machine Plex is running on as well for it to be able to appropriately interact with the XML file and library. Here is another forum topic that may be useful: