Hello first post.
I am running windows for my Plex Media Server.
I am wondering if there is a way from windows to “detect” if Plex is streaming/transcoding any video.
My use case:
My server isn’t particularly powerful. I’d like to run a powershelgl script that runs every min that
-checks if Plex is transcoding/streaming
if so
-execute commands to stop other services
else
-verify other processes are running and start them if not.
Could be a nice feature request for all versions of PMS to have built it (a start stream/transcode script and a end stream/trandcode script)
in the sense of the current question I am more thinking of a check from powershell. Maybe some kind of check for file in x directory written to in the last x min, or check if y process is running. or ideally some API call that can tell me server status like the dashboard in the Web UI.
Thanks in advance.
Sorry if already asked I did try googling and searching on the forum before posting.