Using more than one stream & toggle event
Posted: 10 Apr 2012 20:26
This is probably a simple question but to me... I'm lost (again )
Via Settings and Options -> Events/Commands -> Streaming I have defined an "OnServerStarted" and an "OnServerStopped" event, that reliably start and stop Autoplay. For this I am using a simple PLS_CURRENT_AUTOPLAY_ON (or ..._OFF respectively). This is cool and works perfectly for my needs as long as I am streaming to one server. But every now and then I am streaming to two servers. Whenever I stop one of those servers my defined events would switch off Autoplay all together.
My question is: How do I set up a condition that would check wether or not other servers are started?
Via Settings and Options -> Events/Commands -> Streaming I have defined an "OnServerStarted" and an "OnServerStopped" event, that reliably start and stop Autoplay. For this I am using a simple PLS_CURRENT_AUTOPLAY_ON (or ..._OFF respectively). This is cool and works perfectly for my needs as long as I am streaming to one server. But every now and then I am streaming to two servers. Whenever I stop one of those servers my defined events would switch off Autoplay all together.
My question is: How do I set up a condition that would check wether or not other servers are started?