Since I'm now maintaining my playlists in Ampache, I thought it would be great to be able to export them from Ampache and import them to Plex. Sonos has a Plex adapter but Ampache does not so it would be helpful to be able to have the option to use the playlists in Plex/Sonos. Ampache has a shell script that will allow exporting the playlists and I've written a wrapper to make it easier since I have Ampache running in a Docker container. I ran into a post detailing how someone used the Python PlexAPI package to programmatically import playlists ( Option to use existing m3u for playlist feature ). I used the example on that page to create a program to import m3u playlists into Plex on my system.