Closed thlucas1 closed 1 week ago
FYI - just released a new version of the SpotifyPlus integration
[ 1.0.41 ] - 2024/07/18
spotifywebapiPython
package requirement to version 1.0.76.Waiting to hear back from Joolz on the community forum to see if it fixed his issue.
With the new version I am getting this error when trying to initialise playing music from the integration, please advise? I am unable to commence any music to Spotify speakers from the integration.
Failed to call service media_player/media_play. UPnP Error 701 received: Transition not available from 192.168.50.123
To play any music I am having to commence the playing from the Windows Spotify App, and then I can control with the integration providing I am only playing via computer speakers, as soon as I pair to Spotify speakers from the Windows app I get this error:
Failed to call service media_player/media_next_track. Restricted device
The Sonos support that was added was only for controlling the transport (e.g. pause, resume, next track, volume, mute, etc). It does not include start play of a track / playlist / album / etc. I just recently acquired a Sonos device (Symfonisk), so am still figuring things out.
It appears that Sonos does not fully implement the Spotify Connect API correctly, in that the Sonos Desktop Application and the device itself does NOT keep the Spotify Web API informed of status updates or transport status. The SpotifyPlus integration was developed on top of the Spotify Web API, so if a device does not communicate with the Spotify Web API then it's bound to have issues. More information can be found on my Spotify Connect Brand Notes page.
With that said, Sonos devices may never be fully supported by the integration.
@joolz1 What is the model of the Sonos device you are trying to use with Spotify Connect and the integration? e.g. Symfonisk? Arc?, etc.
I have a Sonos Symfonisk (gen 2) that can be controlled from the HA SpotifyPlus integration, but only after initiating playback from the Spotify Desktop / Web / Mobile player. Note that only AV Transport can be controlled: e.g. pause, resume, next, previous, shuffle, repeat, mute, volume up / down.
Note that the SpotifyPlus integration does not support the following for Sonos devices (yet - currently working on this):
FYI - just released a new version of the SpotifyPlus integration.
@joolz1 FYI - just released a new version of the SpotifyPlus integration .
[ 1.0.45 ] - 2024/07/30
This should fix the transfer playback issues. Please see the Sonos Limitations wiki documentation for detailed information on Sonos device limitations. You may still have to switch the music source via the Spotify Desktop / Mobile app if you use multiple music sources on your Sonos device(s).
Can you give the above release a try and let me know if it fixes your problem? Thanks
@joolz1 FYI - just released a new version of the SpotifyPlus integration [ 1.0.54 ] - 2024/08/22
If you haven't done so, take a look at the OAuth2 Token for tokentype=authorization_code Devices wiki document for expanded Sonos support.
Going to close this issue, as I have not heard back from you in 3 weeks. If you're still having issues we can re-open - try the above link and updated version first though.
Thanks
Describe the issue
@joolz - 2024/07/08 09:56 pm I have an issue when trying to modify, pause or stop music whilst spotify is casting on my Sonos speaker:
Failed to call service media_player/media_pause. Restricted device
If playing on my computer speaker all works fine.
Reproduction steps
?