iTunes Playlist Import function broken in latest server update?

Latest server update (Windows) is missing Import Itunes function? #1.18.0.1913

What is going on?

You could try the latest beta release to see if this fixed:

The beta release did not fix the problem. Is there a link to older release?

I see the same behavior. When I checked the logs, I see a whole bunch of path problems. All of them seem to have a space in the path, like this one:

Oct 12, 2019 15:24:25.214 [8360] WARN - Could not find path: E:\Home\Music\Music\Various artists\The Greatest Showman (Original Motion Pi\11 From Now On.mp3

Also get an error after all the playlists are read:

Oct 12, 2019 15:24:20.329 [8360] INFO - iTunes: done loading 71 playlists and 0 folders in 1.1 seconds.
Oct 12, 2019 15:24:20.329 [8360] INFO - iTunes: parsed library in 2.6 seconds.
Oct 12, 2019 15:24:20.330 [8360] ERROR - Exception importing playlists: Invalid library.

After rolling back to 1.17.0.1841 the import process works again.

But, the WARN log lines are actually still there on the same songs. I’ve actually been trying to get the “Greatest Showman” tracks to be included in the imported iTunes playlists for a few weeks. So, I guess the import has been broken for some time, but not so obviously until 1.18

I also tried rolling back to 1.17.0.1841 but still no option to import itunes playlist?


la5rocks

    October 12

I see the same behavior. When I checked the logs, I see a whole bunch of path problems. All of them seem to have a space in the path, like this one:

Oct 12, 2019 15:24:25.214 [8360] WARN - Could not find path: E:\Home\Music\Music\Various artists\The Greatest Showman (Original Motion Pi\11 From Now On.mp3

Also get an error after all the playlists are read:

Oct 12, 2019 15:24:20.329 [8360] INFO - iTunes: done loading 71 playlists and 0 folders in 1.1 seconds.
Oct 12, 2019 15:24:20.329 [8360] INFO - iTunes: parsed library in 2.6 seconds.
Oct 12, 2019 15:24:20.330 [8360] ERROR - Exception importing playlists: Invalid library.

After rolling back to 1.17.0.1841 the import process works again.

@Amps
Look for the dots on the “Playlists” menu option and click to get the import option:
image

Yes, the grey dots are missing?

Using 1.18.0.1944 I can see the three dots but the playlist import fails with error “there was an error importing playlist”. I also note that I can’t view the playlists via the iTunes plugin as this isn’t clickable.

I was running into this error as well. I updated to 1.1.8.0.1944 and saw the same errors (pop-up and in the server logs) when importing iTunes playlists.

So I turned on debug logging to try to get more details…and strangely, the import seemed to succeed then. I turned debug logging off again and once again it failed with the same errors.

I wonder if there’s some sort of race condition which the additional slowdown of debug logging somehow avoids. Curious if anybody else can preproduce that, though…

After rolling back to 1.17.0.1841 the import process runs but all playlists appear to overwrite each other so none are imported.

I have two iTunes libraries. When I selected the second library , restarted PMS, the import of the second library worked.

To select a library do these steps

  1. Disable iTunes plugin.
  2. Restart PMS.
  3. Enable iTunes plugin with new iTunes library XML.
  4. Restart PMS.
  5. Import playlists.

But I cannot successfully import playlists from first iTunes library. These always overwrite each other. The second iTunes library works OK.

Using two libraries and playlists from both worked fine for previous releases. I (dimly) recall others reporting the playlist overlap issue. Can anyone recall what the problem was?

Have sorted overwrite problem. One iTunes library had the playlists at the top level and the other placed the playlists in the playlist folder. The latter were overwriting. Moving playlists to top level fixed the problem. This used to work OK for both libraries.

Viewing the iTunes playlists via the iTunes plugin made the problem obvious. This no longer works for Win10 as all plugins are no longer clickable (why?) but does work on my Android phone.

I spoke too soon. I couldn’t reproduce the successful import with debug logging turned on. It appears that was just a one-off, and was probably completely unrelated to me enabling debug logging. :frowning:

Have you tried 1.17.0.1841? This works for me.

Yes, I rolled back but no joy until I uninstalled iTunes (windows app store version) and downloaded last iTunes from Apple, installed and like magic all good now. I’m thinking the Windows app store version was the issue because the last Apple automatic update (about a week ago) crashed, it just refused to install, Apple support suggested I use the Window Store App, never again. A fresh Apple iTunes download / install fixed my issues … Now not sure if I should update Plex??? Think I will wait​:grin::grin:


Bunkermentality
Plex Pass

    October 17

alt Bunkermentality:
1.17.0.1841

Have you tried 1.17.0.1841? This works for me.

I rolled back to 1.17.0.1841 and it seemed to work. (I didn’t have the same iTunes problems as @Amps since I am running iTunes on a Mac and PMS on Ubuntu, and just exporting the library XML from the former to the latter.) Will have to keep an eye on this to see if it gets fixed…don’t want to get stuck on an old version forever!

Hi. Any update on a fix for iTunes playlist import on Version 1.18.0.1944? I have the latest iTunes version (Windows 12.10.1.4) and also tried to downgrade plex with no success.

Now with plex 1.18.0.1944 I do not see the playlist item listed at all.

PLEASE, help!! Thank you.

I got mine to work on Version 1.18.1.1973 today.

Yesterday I had the 3 dots but still couldn’t get it to work, I downgraded, still had problems, then re-installed this version again, and I finally corrected my errors in my xml file.

@ProfitC, you’re right! It works again.

BTW, I also found that Plex, even running on Windows, is case-sensitive when checking file paths and names. I found that many of my tracks for some reason don’t line up with the real path.

That’s great! The filepaths were my issues too.