declension / squeeze-alexa

Squeezebox integration for Amazon Alexa
GNU General Public License v3.0
59 stars 20 forks source link

Add Spotify (Spotty) integration #80

Open frelev opened 6 years ago

frelev commented 6 years ago

It would be nice to ask alexa to play music from the spotty plugin. Examples: Alexa, tell Squeezebox to play some pop from Spotify Alexa, ask Squeezebox to play my Sunday Morning playlist from Spotify

Spotty: https://forums.slimdevices.com/showthread.php?108898-Announce-Spotty-2-3-0-Spotify-Connect-for-your-Squeezebox

dougadams commented 6 years ago

++

That is the use case I'm going for. I'm planning to use Rasberry Pi's with Logitech Media Server and squeezeboxes to setup a whole house audio system.

We've become accustomed to telling Alexa to play from Spotify. But would like to have that played on the whole house audio system. Having squeeze-alexa control the Spotty source from LMS is my end goal.

I have my LMS/Squeezebox setup able to play from Spotify (Spotty plugin). But using iPeng to control it.

Has anyone tried to get squeeze-alexa working with Spotty?

I'm in the middle of getting squeeze-alexa set up. So my first goal is to get the base setup working to play locally stored music. Then on to Spotty. It's just taking time since I'm new to most of this. Learning a lot, but taking time.

Anyway, that would be a great enhancement.

declension commented 6 years ago

I may be wrong, but the new Spotify API (for Spotify Connect) only allows streaming, not control of the selection.

The beta Web API Player resource does allow controls, it seems as part of that same API though.

But surely with Spotty installed providing a connect to the LMS, and Alexa natively supporting Spotify... that route is already covered (and better than this one could ever be), i.e.:

You -> Alexa -> AWS -> Spotify -> Spotty on LMS -> Squeezebox Player