Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telling spotify which device to use via spotify-connect-web #122

Open
binderth opened this issue Feb 6, 2017 · 1 comment
Open

Telling spotify which device to use via spotify-connect-web #122

binderth opened this issue Feb 6, 2017 · 1 comment

Comments

@binderth
Copy link

binderth commented Feb 6, 2017

as described in #112, I'd like to tell Alexa to Play spotify in a specific room. I have multiple instances of spotify-connect-web, which have speakers in five rooms at my home. I understand, that presently the spotify skill only plays Spotify on the echo-speakers.

So my question is, whether the API from spotify allows it to tell the actual playing to be directed to a specific device within my spotify-inventory. e.g. if I'm playing Spotify in my living room spotify-connect-web enabled Speaker, the App or my Desktop Spotify knows this and I can Change the Spotify Connect speakers accordingly. Is spotify-connect-web able to tell Spotify this via command line? Then I could tell Alexa to switch it via my existing smarthome-skill. I'd configure a switch, which just fires the command-line and Spotify would change the output to this Connect device. This would come in handy, as I could tell Alexa what to Play and then where to play it.

Thanks!

@Fornoth
Copy link
Owner

Fornoth commented Sep 10, 2017

This isn't possible directly from spotify-connect-web, but spotify offers a web api to control connect devices https://developer.spotify.com/web-api/web-api-connect-endpoint-reference/
Also, see #112 where someone posted a link to an alexa skill that does just that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants