Import iTunes playlists and ratings into Plex

I wrote a small utility to import playlists from an iTunes Library XML. My iTunes database points to music files organized by iTunes itself. Unfortunately, the music on my NAS doesn’t live in the same directory structure so I had to write the script to attempt to locate songs based on available metadata. This approach has its limitations.

The code will create plex playlist(s) you select, and add any songs it finds in your Plex Music library. It will also update ratings if available. I tried to have it update play counts too, but the Plex API returned 500s, so I’m guessing it is not allowed or working.

Hope this helps.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.