Plex Playlists Python

I’ve been using Plex for a while to manage my photos, videos and music.  Good stuff, I can recommend it.  Have had the server running on my old x86 PC for years.  Moving everything to my new Raspberry Pi 4 server was easy, except I couldn’t figure out how to make playlists.  Going through some old files it turns out that there was a bit of work involved that I had forgotten.  The server API supported playlists and they showed up nicely in the UI, except there wasn’t a place in the UI to load or create playlists.  Seems it has been this way for years.

There is a fairly simple command you can post to the server, but it requires a bit of specialized information.  I figured I could write a simple python script to take care of it.  Funny I wrote code almost every day for many decades but this is the first code I have written in almost a year.  It was actually a bit fun.  Decided to put it on gitHub in case anyone else wants to use it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s