JonnyWong16/plexpy

Notify when x number of streams exceeds and returns below threshold

kfulgham asked for this feature over 1 year ago — 2 comments

kfulgham commented over 1 year ago

I would like to have plexpy allow a notification when the server has more than x number of streams active and then when it drops below that.

IE my server can handle about 4 streams. I'd like to be able to alert my users via Twitter when the capacity is near or at the limit.

IE if it is set to caution at "3" and warn at "4". When the server has 3 open streams it would send a twitter alert: "There are currently 3 streams open. If you're looking to start something it may buffer."

If a 4th stream is opened then the twitter alert could say "There are now 4 active streams and the system is at capacity. Attempting to stream will cause buffering".

Then when it's back below 3: "Server demand has reduced to normal. You should be able to open a stream without issues. "

JonnyWong16 commented over 1 year ago Admin

You can do this with a custom script notification.

Join the discussion!

Sign-in with GitHub to comment