amueller-tech / spotifycontroller

Simple API Wrapper to use the Sonos-Kids-Controller with Spotify Connect
MIT License
9 stars 3 forks source link

Tracks get started on last used Spotify connect device #8

Open swissmaster1 opened 2 years ago

swissmaster1 commented 2 years ago

Hi I installed sptifycontroller and it is working fine. I configured as the description says in part "Configuring the Sonos-Kids-controller" the config.json to use my desired Spotify connect device. Therefore I got the ID by checking http://localhost:5005/getDevices and added this in the rooms part of the software. But it doesnt matter what Spotify connect device ID I set in the configuration, everthing is always played on the last used Spotify connect device instead of the in config.json preconfigured device. When I switch manually to the device I like to use, its working fine. Every other command is send to spotify without problems.

swissmaster1 commented 2 years ago

I found right now out that if the controller gets restarted and first time something is played over the interface the correct Spotify-Connect device will be choose. If later direct in Spotify the device is changed to an other Spotify-Connect device and after that something is played over the controller it doesnt change back to the correct device.