jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.83k stars 462 forks source link

Spotify app 'Connect to a device' crashes the api #723

Closed sgraystar closed 4 years ago

sgraystar commented 4 years ago

We have been using the API with Spotify happily for some time, controlling playback within the Sonos app without any problem.

However my son prefers to use Spotify directly and when connecting to a Sonos device in the Spotify IOS app, or in Spotify on his PC, it crashes the API. It does not matter which Sonos device, connecting to any speaker on the network causes a crash. If Spotify is already directly playing on any speaker then the API fails to start with errors.

Logs attached. Cheers

crash_when_launch_spotify.txt 2019-10-08T08_02_48_401Z-debug.log crash_on_start_while_spotify.txt 2019-10-08T07_56_48_373Z-debug.log

StevenBoelhouwer commented 4 years ago

You need to update the node-modules. Do a npm update in the node sonos http api folder.

sgraystar commented 4 years ago

That was easy, all fixed, thanks.