Right now I have two RDAirplay panel buttons, one assigned to a macro cart that 
turns a device on, and another that turns said device off.

Can anyone think of a good way to combine these two functions into a single 
button, WITH the button showing toggle status? (Push once, device is on, button 
"lights up" as an audio cart button would while playing; push again, device is 
off, button returns to idle state.)

I'm thinking about just doing it using the "PC" RML command (turn button red 
when device is on). If I want flexibility in moving, renaming, or re-coloring 
the button from the user interface, I suppose I’d need to search for the 
relevant cart number and host in the PANELS table, get the button’s position, 
and store the original label color/text somewhere for when it’s time to turn 
the device off.

I see no reason this wouldn’t work, but I feel like I might be reinventing the 
wheel. I also haven’t yet sorted out how I might maintain compatibility with 
“flash active buttons” if enabled.

Thoughts?



-----
Keith Thelen
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to