lordpengwin / muzak

Amazon Echo Skill for Logitech/Squeezebox Media Server
MIT License
35 stars 16 forks source link

Controlling players without interactive mode #13

Open ronluna opened 7 years ago

ronluna commented 7 years ago

Is is possible to control the players without interactive mode?

I'm trying to get alexa to simply start a player by saying " Alexa, Start Bedroom" but Echo does not recognize the command as a muzak action. I can say thing like "Alexa, Open Muzak" and then once in the app I can give the desire command and everything will work fine.

Wondering if I'm missing something or that's just they only way to interact with muzak.

glacket commented 7 years ago

@ronluna as far as i am aware, since the skill is third party, there is no native utterances such as "alexa play music in master bedroom" you have to say "alexa tell muzak to play music in master bedroom". This is because those utterances("alexa play music") are reserved for existing skills like amazons prime music. when you start off saying "alexa play" it doesnt know if your referencing the amazon prime music skill or the muzak skill, thats why you have to tell alexa to tell muzak to do something. To me i like the interactive mode better, it sounds more natural, but it is a little slower to issue commands since you have to open muzak first then tell it to do something.

ronluna commented 7 years ago

There is an option under "Skill Information" in the alexa developer console called "Global Field" with a option to what it seems to enable native Audio Player controls. I have tried enabling this option and added the "Built-in intents for playback control" thinking that this would allow Alexa to control the players directly but it does not seem to be the case, maybe I'm missing something or as you mentioned above it is not possible.

Thanks for the explanation.

GeoffAtHome commented 5 years ago

Hey, it is possible to for some of the functionality to work without having to re-open the skill. To make this happen the response needs to include an MP3 to play, that could be silent, for the duration. I am working on this. I need to raise a PR to pull the branches together......