rgraciano / echo-sonos

Amazon Echo integration with Sonos
Other
712 stars 234 forks source link

unable to get DEFAULT_MUSIC_SERVICE = spotify to work. #198

Open jzajac2 opened 6 years ago

jzajac2 commented 6 years ago

I have DEFAULT_MUSIC_SERVICE = spotify set as a lambda env var as described here:

`To enable music services and default rooms (strongly recommended), also add the following environment variables

ADVANCED_MODE (true) - remembers last room you commanded, and uses your default music service DEFAULT_MUSIC_SERVICE - supports presets, library, apple, spotify, deezer, or elite`

I also have ADVANCED_MODE = true and a default room set.

Not sure how this works exactly, going through the code (having issues setting up debugging) and the docs. What's a good utterance known to work with this setup?

I am able to get this to work after adding my spotify clientId and clientSecret to my settings.json:

http://mysecretdyndnsname:5005/office/musicsearch/Spotify/song/artist:Tycho

(and it plays in all grouped rooms as Office is set to my default).

Not sure how to tell Alexa to tell sonos... any ideas?