ndg63276 / alexa-sky-hd

A smart home skill for Alexa to control a Sky+HD or SkyQ box
33 stars 15 forks source link

Sky Q Netflix - Continue Watching issue #20

Open adammatthews opened 3 years ago

adammatthews commented 3 years ago

When Netflix on Sky Q hits the "Continue Watching?" screen, the command "Alexa, select on sky box" doesn't work. However, when using https://github.com/dalhundal/sky-remote-cli, I can use hit "sky-remote-cli x.x.x.x select" and it works to select the continue option.

I'm working on debugging it, as its a tricky one as you have to get into the correct state on Netflix to test! Raising here in case anyone else has seen this while I try and debug it.

ndg63276 commented 3 years ago

Hi there, when I made this skill, the only commands you could say were those Amazon had defined for smart TVs like "change channel" and "power on". There was no equivalent of "select", so there's no way to ask Alexa to send a "select" commands, assuming you haven't set up your own custom scene or similar.

As you can probably tell, I haven't done much on the project this year, so it may now be possible (https://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-keypadcontroller.html looks relevant).

ndg63276 commented 3 years ago

Have added the 'select' button capability, as in the above link, as well as some tidying up. A few notes:

adammatthews commented 3 years ago

Amazing thank you for the fast work! I've re-authenticated/discovered everything to make sure I've got no amendments anywhere.

All usual commands still work perfectly, "Play on Sky Box", "Rewind on Sky Box" etc. "Select this" or "select" still dont do anything which is strange. Looking at the code the select command/rewind/fastforward etc are just commands translated back (1,2,3 etc). Tested on a Netflix "Continue Watching" screen and on a paused regular recording but neither worked. Hitting the "sky-remote-cli xxx.xxx.xxx.xxx 49160 play / select" work fine and do the same thing.

ndg63276 commented 3 years ago

Does Alexa say anything when you say "Alexa, select this on Sky Box"?