Rigellute / spotify-tui

Spotify for the terminal written in Rust 🚀
MIT License
17.58k stars 524 forks source link

Sonos is not detected #426

Open flipjs opened 4 years ago

flipjs commented 4 years ago

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.

Rigellute commented 4 years ago

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

PascalSenn commented 4 years ago

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

kubukoz commented 3 years ago

@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.

geoigeek commented 3 years ago

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

kubukoz commented 3 years ago

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.

sebasouthwell commented 1 year ago

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.