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.2k stars 44 forks source link

Playing to non-existent player produces unfriendly message #2518

Open madbrain76 opened 1 week ago

madbrain76 commented 1 week ago

What version of Music Assistant has the issue?

2.0.7

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

2024.6.2

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

The problem

Trying to play to a powered-off device results in an unfriendly error

How to reproduce

  1. select player. I chose a Chromecast Ultra
  2. start playing content
  3. pause the player
  4. disconnect power from the Chromecast Ultra. I used a smartplug that disconnects the CC/AVR/TV
  5. press play on the player
  6. This happens.
  7. image

Music Providers

Plex

Player Providers

Chromecast

Full log output

log.txt

Additional information

The player name in the message is not meaningful to the user.

What version of Home Assistant Core are your running

2024.6.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Windows