Hello. I am improving our integration code for our smart home platform, LinuxMCE. Is there any way to ask the Roku device if something is playing, so that I can update internal state appropriately? I don't need to know WHAT'S playing, but rather if something IS, so that I can send play/pause appropriately when phone calls happen in the home.
"RokuJoel" wrote: The answer is: not at this time.
So couple of requests for enhancements then:
(my request) Provide functionality so that ECP query can return what channel# Roku is currently "tuned" to (0 if in main menu?). Presumably further detail is up to individual channels to publish (we can discuss and agree on recommended API for that)
(per @tschak909 question) Consider adding functionality so that via ECP query it can be determined if video or audio is being played, no matter the channel. (now this is somewhat unclear - while if programmed in B/S, it probably is known to the system if a multimedia control is playing, it may not be so with NDK/else. Also how is pausing to be done here, presumably by shooting ECP pause and hoping the channel pauses?)
tschak909, did you ever figure something out for this? I too would like a discrete pause for my home auto system, or even better to query the state. This way i could resume play only if i know the Roku was already playing.