Announcements not working when player is off and auto resume has been configured #3468
Open
1 task done
Labels
bug
Something isn't working
What version of Music Assistant has the issue?
2.3.6
What version of the Home Assistant Integration have you got installed?
No response
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
When playing an announcement, using the service mucsic_assistant.play_announcement with url pointing to the www folder of HA (e.g. http://x.x.x.x:8123/local/audio/chimes-melody.mp3) to a player that is in off state and has the auto resume on power active, the player resumes the queue and doesn't play the announcement.
Disabling resume solves the problem, the player gets powered on plays the annopuncement and powers off.
When the player is on and playing, it also works.
How to reproduce
Player in off state with resume configured and something in the queue.
Then the announcement won't work.
Music Providers
Music assistant
Radio browser
Spotify
Player Providers
Sonos S1
Slimproto
Full log output
No error in the log file:
2025-01-16 16:52:28.358 INFO (MainThread) [music_assistant.players] Playback announcement to player Keuken (with pre-announce: None): http://x.x.x.x:8123/local/audio/chimes-melody.mp3
Additional information
Discussed on Discord with @marcelveldt
What version of Home Assistant Core are your running
2025.1.2
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)
The text was updated successfully, but these errors were encountered: