Option to use existing m3u for playlist feature

+1

I would really appreciate this feature. I manage my whole content with the audio app from synology and i have really no intention to do the work again. So if i could copy my generated lists it would be nice

+1

It’s the only thing that is preventing me from relying solely on Plex as my media server. Over the years I’ve been maintaining a “favorites” playlist containing thousands of songs which I simply play at random when I want some music. Until then I still need to rely on Kodi.

Don’t know if this would help you in any way…I use musicbee for my music management. It has an option to create an itunes library xml which I put in the default itunes folder. Don’t need itunes, just need to create a path to the default folder location and drop it in there. (automatically with a powershell script). Then I pull in all the playlists. musicbee can import m3u, export m3u for every playlist. Not sure if Kodi has that ability, I haven’t looked at it since discovering plex years ago.

I would also love for Plex to be able to read my existing .m3u music playlists, or at the very least, be able to import them. My wife and I both have tons of .m3u playlists we have managed for years. Thanks

I think we all need to submit votes to push this up on the priority of developers. It seems focus remains videos and new devices. I really hope music will see some more attention as well, but it is up to all of us to vote for it.

I found in another thread that this is already possible. Just not from the GUI.

Unfortunately, I failed to get it working though. Maybe one of you does and could help share with the group how it works.

I don’t have any insight to add, but I’d probably verify that in the playlist (or at least a test playlist) the files exactly match what plex has for the file path. For my playlist the files are all in the P: drive (I’m on windows). When I do a “get info” on a music file in plex. its something like P:\music\artist\album\01-song.flac" and that is exactly what is in my playlist file.

Also, when you make a post in Postman, it should give you a response code. If it is 200, everything is ok. Something else, and something went wrong.

finally, if you want something you can script, you might try using curl instead of postman. It should be able to do a post with

curl -X POST [url]

Thanks a ton for your help Postman shows 200, so it seems to be somewhat working. Also, a library rescan is initiated, so something is happening (I have set my PMS that library is updated when changes are detected).

I followed the exact path as you described. In my case, PMS is on a Linux deviate (Unraid), so the path is "/data/disk1/iTunes/iTunes Media/Music/song name.mp3.

I am running postman on Windows. I.e., uploading a playlist file from Windows to Linux. I manually edited the path.

Maybe there is some permission issue? Or about the song paths including spaces?

Is there a path where Plex stores the uploaded file that I can trouble-shoot? Any other idea what could have gone wrong?

Changed the file name to a playlist.m3u that doesn’t exist just to test how Postman reacts. It still shows “200 ok”, so I am not sure what this means?

I tried curl, which gives some error for further trouble-shooting:

curl -X POST http://192.168.11.xxx:32400/playlists/upload?sectionID=6&path=Downloads/Test.m3u&X-Plex-Token=removed
[1] 93875
[2] 93876
-bash: X-Plex-Token=removed: command not found
[2]+ Done path=Downloads/Test.m3u
Computer:~ user$ Unauthorized

401 Unauthorized

You will need to substitute your actual plex token value.

https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

I did. Just took it out from the post (same like the end of my IP). Any other thoughts what to look for?

Just tried again to make sure that I had put in the right token. Unfortunately, it is still not working. Same error message as it shows above. Any more thoughts?

I don’t understand why the ability to read standard playlists is so difficult for many apps to at least read to play. I write code in a few languages for a living and reading at least the stand m3u format would take me no more than 30 minutes no matter the language. This drives me nuts as there are many apps / systems that can’t handle this simplest of tasks. My Control4 system won’t read standard playlists either but I suspect that’s a misguided business decision. Google play music seems to have issues. It’s just a text file for Christ’s sake. I expected more out of great system like Plex.

2 Likes

I share the same frustration as you do.

My interpretation has been that playlists are seen as a feature to “lock in” people. If you make the effort to create playlists, you cannot easily switch to other players. Spotify is a good example. I prefer not to pay for Spotify, Apple Music and potentially Plex just for the sake of keeping my playlists. Just like my situation now with Itunes. As long as Plex does not properly support importing playlists, I still need Itunes and my Apple Music / Match subscription.

Once Plex supports importing playlists, people may also request it to export playlists, which may not be to the advantage of the developers. But well… I am not a developer and have no idea what’s truly behind making it difficult to import what is indeed just a simple text file.

In all fairness to Plex, it is already supporting the import of M3U playlists as an undocumented feature. @elan and @timwoj have mentioned this in another thread and @nosaj72 has confirmed it is working for him. However, it is not working for me and I have been posting my error logs above. It may be because I am running PMS as an Unraid docker and this feature may only be available in the WIndows implementation of PMS?

Did you give it a try yourself. It seems fairly easy to do based on the description below:

Any thoughts? Can anyone comment whether she/he succeeded to use above un-documented feature to import M3U playlists?

Browsing this thread this has been a subject request for over three years. Surely it doesn’t take three years to implement such a simple request. Honestly, Ive been testing software front ends for my home theater and have narrowed it down to Plex and J-River. Plex is easier to implement, is easier to make look good and is less fussy tan J River. However, it doesn’t take J-River years to implement user requested features as simple as this. I think its time I made my final decisions and uninstall Plex on all four of my theater boxes

1 Like

It seems to be working for some though.

Can anyone comment on their setup who got it to work with postman or curl?

I’d immediately buy a lifetime membership if I could get my m3u playlists imported and ideally also musicvodeo=onlu albums to work with Plex.

Yeah, this is a bit ridiculous. I am in the same boat and have a few other friends who feel that this is a deal breaker. Many of us have tons of m3u’s that we have created over the years. At the very least, we need an import option.

Completely agree. This is the missing feature keeping me from going all in on Plex with my music library. I live off playlists and I don’t want to take the time to have to recreate 50+ playlists…

1 Like