forslund / spotify-skill

Mycroft Skill to control spotify using the Spotify Connect API
Apache License 2.0
71 stars 38 forks source link

Setting Connect device #136

Open georgefst opened 4 years ago

georgefst commented 4 years ago

Am I right in thinking that it is possible to ask Mycroft what devices are available, but that there is no way to actually change the active device? Any reason not to include this? If it's just a matter of finding the time, I'll submit a PR.

forslund commented 4 years ago

I'd be happy to accept a PR with improved functionality for selecting device.

Currently you can set the preferred playback device on in the skill settings on home and you can ask mycroft to transfer playback to a specific device. It can seean simple way forward by extending the on spotify check to accept any device name and attach that to the response data.

The cps_start method could then just use device id from data or get the default player the current way if it's missing in the message

georgefst commented 4 years ago

Ah, I missed that setting - that does most of what I want for now.

But I'll still look into this when I can.