Can Plexamp read and use m3u playlists?

My workaround is to import the m3u playlists into Soundiiz and from there use Soundiiz to transfer into Plex, and hence Plexamp. Works a charm - minor issues with some file names only, takes seconds to fix. Hope this helps.

I don’t know if you’re still having this problem, but make sure your playlist has nothing but the absolute path for every file listed and not a relative path.

Also, you may not need to URL encode your path (no need for %20 for spaces, for example). Same goes for your entries within your playlist. There is no need for %20 in place of spaces.

Hi @mike71432. Let me share my experiences with this.

  1. Make sure that the playlist entry matches the naming of the file exactly (case, etc.). For example: MyFile.mp3 should show in your playlist as /path/to/file/MyFile.mp3 (not /path/to/file/myFile.mp3)
  2. Make sure your play list entries don’t have extra spaces at the end of each line.
"/path/to/file/MyFile.mp3"

not

"/path/to/file/MyFile.mp3 "

(Double quotes are for illustrating where a space can trip you up - don’t put actual double quotes in your playlist)
3. Make sure all your files have been SCANNED. If they haven’t been scanned, Plex is unaware of the file and any attempt to create a playlist that includes it will result in ignored entries.

Hope that helps!

Thanks @onemojofilter for the tips. My m3u file was a blank notepad++ file that I pasted in full paths, 1 per line. I got the paths from using ExportTools so unless ExportTools is doing something odd changing upper to lower-case or adding spaces to stuff, I doubt that’s it? For example, here’s 1 line in the m3u file that didn’t load into the playlist that I can’t find any issue with and that I’ve verified for sure is in my Plex library (I can find it/play it) and verified it’s actually in the location:
/mnt/storage1/Music/Artists/Knife Party/100% No Modern Talking/Knife Party - Tourniquet.mp3
I thought maybe it was the % in the folder, but then I found another example that also didn’t import for some unknown reason:
/mnt/storage1/Music/Artists/Silversun Pickups/Carnavas/Silversun Pickups - Three Seed.mp3

Seems fine to be besides spaces, but that one also didn’t go… and yes it’s in my library, can play it, and verified the folder structure/file is actually there. So maybe the first example it’s the % causing the problem? But I definitely can’t figure out why the 2nd example didn’t import.

I can’t express how infuriating it is that we still have to jump through hoops like this to get a list of songs imported to Plex. Other servers just have the playlist folder watched and bring them in automatically.

1 Like

Hey @mike71432:

Windows vs Linux affected my situation in a weird way. I had a playlist previously created in Windows using the dos command.

dir /on /b /s *.mp3 > playlist_name.m3u

Two issues came up. Sometimes a space was added to the end of the filename (which I never caught until I looked at it with Notepad++ in Windows).

Another was odd case issues: For example Paul McCartney’s Pipes Of Peace album was showing up as ā€œPipes o f Peaceā€ instead (lower case ā€˜o’). That took a while to find and correct.

Of course, part of my issue was I had created the playlist in Windows to begin with (and had it in a specific order that I wanted - which meant I was unwilling to do a quick and dirty find command in Linux because the order I wanted wouldn’t have been preserved) and then tried to bring it into my Plex Server (which runs in Ubuntu).

If those two songs of yours are actually in your library already (and scanned etc) then the only other thing I can think of is that maybe your playlist has spaces where you don’t expect them (and that can be hard to find sometimes without an editor to find them for you).

I ended up doing a file listing of the mp3 in question and pasted it right next to the playlist entry to see if I could detect ANYTHING different and that was the only way really I found the problem.

Good luck! Hope you figure it out!

Thanks. I got frustrated and started over again. This time I had a m3u playlist with 235 songs in it. Uploaded it, the PL in Plex had 232. Exported the PL and compared to imported and found the 3 songs that didn’t go in. 2 of the 3 both had a ā€œ%ā€ in the path. Don’t know if that’s what tripped it up but whatever, 2/3 fixed, added them to the plex PL manually. The last one is kicking my butt. I can’t find ANYTHING wrong with it, so I don’t know why it didn’t import. But here’s the odd part… like the other 2 that I manually added, I went to go find this track in the library and add it to the PL… it won’t add. I can add it to some other playlist, I just can’t add it to the playlist it imported on. I don’t know, this is frustrating. I guess I’m just glad that I’ve been able to get about 90% of the songs in my GPM thumbs up playlist imported ā€œautomaticallyā€ into Plex and I’ll have to settle for that and do the last 10% myself.

Just a little update from me.

I posted about PPP a little while ago, a few people had issues with command line usage.

I’m now releasing ultrasonics - which is an app designed to sync playlists between a range of different music services, including Plex, local m3u files, Spotify, and Deezer. It can be run as a webserver alongside Plex, and is more powerful and user friendly than PPP.

If you want to check it out, the repo is: GitHub - XDGFX/ultrasonics: Sync music playlists between all your music services. Do more with your music.
Feedback is much appreciated! :slight_smile:

Would love to test this in a Windows environment. Got the code downloaded but launching app.py gives me an error about ā€œflaskā€ missing.

Thanks! There are a few dependencies that you have to install first. If you have a look at the installation instructions here it shows how to install the dependencies using bash on linux. I’m not sure of the exact steps for windows but as long as you have pip you can install dependencies with pip install -r requirements.txt.

Got app.py to run in a command window. Not sure where to go from here. I saw mention of creating applets, but not sure where or how to do that.

Perfect! So, just like Plex or Radarr or Tautulli, it runs a webserver which you can access through your browser. The port is 5000, so you should be able to access the UI by going to localhost:5000.

OK, getting closer. I have an applet created to bring local playlists into Plex. I click the ā€œPlayā€ button and nothing really happens. I think it is because I don’t have a trigger set. I don’t want a time based trigger, so I assume I need a ā€œwebhookā€ trigger. Not sure what port and root path should be set to here.

One more update…looks like the applet ran and imported my playlists.

:Looks like FLAC is not supported, so no FLAC songs got imported. Many of the playlists are short because of this.

So if the main screen could have some sort of indicator letting you know if the applet is running/finished that would be cool. And add FLAC support and I think you should be in good shape for the local files to plex portion.

Thanks for the feedback! You’re right, currently there isn’t much of an indication on the UI with regards to running applets, it’s best to keep an eye on the logs while testing new applets. I’m looking into methods of relaying more information to the user. And yep, adding FLAC support is high on the todo list. If possible I will try make sure that support is added to the first minor update after v1.0.0 is finalised. Glad to hear it otherwise appears to be working fine on Windows!

1 Like

Sounds good. Looks great so far, keep up the good work!

1 Like

Sorry to dig up an old thread.

Did either of you guys or has anyone found resolution to the ā€œStatus 200 OKā€ issue where after sending the command in Postman, Plex doesn’t do anything?

I have a Synology DS-1019 server which houses all of my music and runs Plex. I am doing all of this Postman work from my PC.

I indexed my Synology’s music library with MusicBee and then I used a plugin to sync my Google Play Music playlists. I then exported an m3u from that, which references the file locations of all of the playlist’s MP3s and their file/folder location on my Synology.

One other thing I am not certain of is whether there needs to be some kind of authorization. When I log into my Synology, I need to enter a username and password. I have tried doing this in Postman with the Basic Authorization as well as the Digest Authorization. In both cases, it still gives me a ā€œStatus 200 OKā€ or ā€œ500 Internal Server Errorā€ depending on which Postman link I use.

I have been able to use @XDGFX 's PPP script to what appears to be good success:

But no playlists populate on my server in Plex, and the only result is a now merged m3u file on my PC that has the file/folder locations of all of the MP3s

I am looking to create the playlist on the Plex server.

Does anyone have any further suggestions on how to accomplish this?

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