Hi Romain,
Thanks for the response. Unfortunately I still seem to be in LED
limbo. Turning the Error on works but I never seem to get back to a
normal state even though the stream switches back.
I'll have a double check of the liq script and a further dig through google.
Thanks again,
Wayne Merricks
The Voice Asia
On 09/06/15 02:27, Romain Beauxis wrote:
>
> I think your problem is simply that you call the same callback on each
> transition. If I remember well, transitions are matched in the same
> order as the target source so something like this:
>
> fallback(track_sensitive=false,transitions=[goingToLiveStream,
> goingToEmergency],[liveStream,emergency])
>
> And so, you should have a function goingToLiveStream that looks like this:
> def goingToLiveStream(a,b)
> system("/home/thevoiceasia/scripts/turnErrorLEDoff.sh")
> sequence([a,b])
> end
>
> And, conversely:
> def goingEmergency(a,b)
> system("/home/thevoiceasia/scripts/turnErrorLEDon.sh")
> sequence([a,b])
> end
>
> Hope that helps,
> Romain
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users