Plexwho, a Linux command-line tool to list active streams

Hi all.

I run the plexinc/pms-docker container under Fedora Linux, I also run tautulli, ombi and several other docker containers. My server is entirely headless, so I rely a lot on administering the system from the command line.

At times, while I’m in the command-line, I want a quick way to have a quick look and see if any streams are running without requiring me to open up a separate web-browser and log in.

So I wrote this little plexwho script for Linux that’ll print out the current users and their streams. It’s based on Tautulli’s API, so you have to be running that to be able to use this script. The reason I did it this way is because I found a reference for the Tautulli API and some good examples, so it was straightforward to slap this together. I’m betting most y’all Plex Linux nerds are running Tautulli anyway…

It should run on pretty much any Linux, especially any Linux that PMS runs on. I run it on Fedora, but I’ve also used it on Ubuntu. You can download it from here:

https://github.com/PriamX/plexwho

It’s not any kind of sophisticated script, so don’t expect too much. But it should be pretty easy to drop on your Linux server and run. You will need to modify a few of the tautulli variables in the script, host, port, and api key…you’ll see them towards the top.

Holler if you find it useful…or decide to make it even better!

Cheers,
-PriamX

2 Likes

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