PDA

View Full Version : How do I check playing state info from the MediaBridge component?



Mastiff
March 9th, 2015, 05:07 AM
I would like to check if a zone is playing before running a command (so I can pause playback when turning off the amp if something's playing, but not set it to pause if it's not playing). How do I do that? I have set up the component, but I don't know how to query it. Do I have to use the events in the logger to set a variable each time the state is changed, or can I query it directly?