julianh2o / RokuAlexaLambdaSkill

An Alexa Skill that allows voice control of your Roku
MIT License
104 stars 55 forks source link

Possible to add ability to ask Alexa what's playing? #26

Open sacarino opened 7 years ago

sacarino commented 7 years ago

This looks pretty cool - going to carve some time over the holiday to set it up and see if my wife will accept it or not. :)

Similar to how you can ask Alexa to identify songs it's currently playing, it'd be pretty awesome if you could ask it what's currently being played. Is that possible?

I didn't see anything in the ECP that jumps out as a yes, so I started looking into the other SDK docs. Roku's documentation is... well, a bit of a mess.

mikehobi commented 7 years ago

@sacarino I don't believe this is possible. It seems that the only information you can query for is the current active channel (eg. Netflix, Amazon).

Could be something in the future if Roku updates their SDK though

julianh2o commented 7 years ago

Yeah, unfortunately the Roku ECP is almost completely devoid of endpoints that provide information about the state of the device. That's why most of this code is based on keypress sequences that happen to play the right thing. It'd be great to even have a "finished loading" status indicator.. but no sign of that.

On Fri, Jul 7, 2017 at 11:00 AM, Mike Hobizal notifications@github.com wrote:

@sacarino https://github.com/sacarino I don't believe this is possible. It seems that the only information you can query for is the current active channel (eg. Netflix, Amazon).

Could be something in the future if Roku updates their SDK though

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/julianh2o/RokuAlexaLambdaSkill/issues/26#issuecomment-313751859, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH4WESppv3d-EafcrLC7GcW5PkLQALOks5sLnIsgaJpZM4OMg6T .

sacarino commented 7 years ago

That's what I thought as well, but I was hoping that I had overlooked something non-intuitive like a BrightScript payload. Seems crazy to have a device they want to be the center of everything, yet doesn't provide very many useful outputs. 😐

Oh well, guess this goes in the icebox!