music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.35k stars 52 forks source link

Problems with resuming play to Sonos One with Beta 2.3.0rc3 #3072

Open gtothill opened 5 hours ago

gtothill commented 5 hours ago

What version of Music Assistant has the issue?

2.3.0rc3

What version of the Home Assistant Integration have you got installed?

2024.10.1

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

Firstly - outstanding software. Thanks to everyone who has worked on it! I have recently experienced the problem of tracks being skipped using the current stable release and so I switched to the Beta stream. This resolved the track skipping issue but I have found another problem. When a device external to MA starts to stream to the Sonos One speakers, the MA stream stops and MA correctly reports that an external source is streaming to the Sonos, and what is playing. However, if I try and resume playing from MA it does not do so and throws an error. The only way I have found of giving MA back 'access' to the speaker is restarting the MA server. This does not happen with the stable release. I just don't know enough about this particular technology to be able to start to debug so I thought I should report it.

How to reproduce

1) Play something from MA server to Sonos One. 2) Stream something to the Sonos from another source (say Alexa). Music and radio sources both exhibit this issue. 3) Try and resume the original stream from MA >> Not possible to stream again from MA.

Music Providers

On MA side: Spotify >> Sonos and Plex >> Sonos

Player Providers

Sonos One Speakers and Sonos Play 5 speakers

Full log output

music-assistant (1).log

Additional information

No response

What version of Home Assistant Core are your running

2024.10.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Raspberry Pi

gtothill commented 5 hours ago

Sorry - I just checked. This is an issue with all my Sonos hardware - not just the Sonos One's.