Page 1 of 1

STREAM DISCONNECTED EVENT

Posted: 26 Nov 2021 10:51
by jsonio
Hello,

Those last days I have many streams disconnections due to a problem with my SHOUTCAST server not responding that i'm trying to fix.
PF is working perfectly and is stable, disconnecting l and reconnecting AS SOON AS THE SERVER IS BACK.

But I wonder if it would be possible to add a global command/event in the general settings on the "STREAM SERVER DISCONNECTED" EVENT
So I could configure and email sending and be warned about the disconnection.

I noticed that the events "server started" and "server stopped" already exist and also "MODSTREAM connected" and "MODSTREAM disconnected".
But server stopped doesn't fire an event on a server disconnected event (it's logical).

So maybe it's not a big deal for you to add this event :)

Thank you a lot in advance!

Jsonio

Re: STREAM DISCONNECTED EVENT

Posted: 26 Nov 2021 13:16
by radio42
Yes, I can do this and add it to the next release.

Re: STREAM DISCONNECTED EVENT

Posted: 01 Dec 2021 10:08
by jsonio
Thank you very much :)

Re: STREAM DISCONNECTED EVENT

Posted: 01 Dec 2021 22:26
by radio42
A new Streaming.OnServerDisconnected event was added to the v4.2.6.12.