spotify-tui icon indicating copy to clipboard operation
spotify-tui copied to clipboard

Sonos is not detected

Open flipjs opened this issue 5 years ago • 6 comments

The official spotify gui client can see Sonos, but spotify-tui can't detect it. Are there steps or configuration needed for this? My Sonos device is Sonos One, if that matters. Thanks.

flipjs avatar Apr 30 '20 21:04 flipjs

spotify-tui uses the spotify web api to fetch available devices (a simple GET request), this could be an issue with their public API

Rigellute avatar May 04 '20 10:05 Rigellute

this is the related issue on the spotify repo looks like it is simply not possible at the moment https://github.com/spotify/web-api/issues/525

PascalSenn avatar Jul 26 '20 11:07 PascalSenn

@flipjs you might wanna check again, my Sonos doesn't show up as a restricted device anymore, and the spotify API allows me to control it. This must be pretty new, as I had to use a workaround until 1-2 weeks ago.

kubukoz avatar Apr 21 '21 11:04 kubukoz

i also cannot connect to my Sonos ARC +Sub via sonos-tui (or Sonos Web)

geoigeek avatar Oct 11 '21 20:10 geoigeek

Update from me as well, Sonos became a restricted device shortly after I said it wasn't... so it was only usable through the API directly for a short time.

kubukoz avatar Oct 11 '21 21:10 kubukoz

Update on this, Sonos doesn't seem to work due to an expected string coming back as a null; if I have to guess, one of the API messages received is mandatory, and the parsing doesn't like it; Spotify returns the name of the device as I saw it in the error message when music is playing from my Sonos, so most likely some parsing error.

sebasouthwell avatar Jul 25 '23 18:07 sebasouthwell