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.3k stars 47 forks source link

Cannot select player to play music on #2228

Closed felipecrs closed 4 months ago

felipecrs commented 4 months ago

What version of Music Assistant has the issue?

2.0.0

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

2024.5.1

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

The problem

Not sure if I'm doing anything wrong. I am getting started with Music Assistant since the announcement, but I simply cannot select player to play music on.

https://github.com/music-assistant/hass-music-assistant/assets/29582865/7bd947e1-73fe-49bf-8e82-78e141053652

How to reproduce

See video above.

Music Providers

Youtube Music

Player Providers

Tried Chromecast, DLNA, and HA.

Full log output

2024-05-09 19:29:46.112 INFO (MainThread) [music_assistant] Starting Music Assistant Server (0772b0674c674da8bc848753922662b4) version 2.0.0 - HA add-on: True - Safe mode: False
2024-05-09 19:29:46.152 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2024-05-09 19:29:47.085 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes.
2024-05-09 19:29:47.885 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 6.0.1 with libsoxr support
2024-05-09 19:29:47.886 INFO (MainThread) [music_assistant.streams] Starting server on  0.0.0.0:8097 - base url: http://192.168.1.10:8097
2024-05-09 19:29:47.904 INFO (MainThread) [music_assistant.webserver] Starting server on  172.30.32.1:8095 - base url: http://172.30.32.1:8095
2024-05-09 19:29:48.245 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider
2024-05-09 19:29:48.247 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant
2024-05-09 19:29:48.249 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider
2024-05-09 19:29:48.251 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider
2024-05-09 19:29:48.615 INFO (MainThread) [music_assistant.music] Sync task for Music Assistant completed
2024-05-09 19:34:25.897 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music
2024-05-09 19:34:41.404 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors
2024-05-09 19:35:18.590 INFO (MainThread) [music_assistant] Loaded plugin provider Home Assistant
2024-05-09 19:35:35.612 INFO (MainThread) [music_assistant] Loaded player provider Home Assistant MediaPlayers
2024-05-09 19:35:35.797 INFO (MainThread) [music_assistant.players] Player registered: media_player.home_theater_do_escritorio/Home Theater do escritório
2024-05-09 19:35:35.799 INFO (MainThread) [music_assistant.players] Player registered: media_player.assistente_do_escritorio/Assistente do escritório
2024-05-09 19:38:56.386 INFO (MainThread) [music_assistant.players] Player removed: Home Theater do escritório
2024-05-09 19:38:56.390 INFO (MainThread) [music_assistant.players] Player removed: Assistente do escritório
2024-05-09 19:39:00.025 INFO (MainThread) [music_assistant] Loaded player provider Chromecast
2024-05-09 19:39:00.777 INFO (MainThread) [music_assistant.players] Player registered: 36b057b7-a6d4-a85f-9063-7afa9668e696/Assistente da cozinha
2024-05-09 19:39:00.906 INFO (MainThread) [music_assistant.players] Player registered: a7c034e7-b4c2-44a4-9118-19fc724852ad/Assistente do escritório
2024-05-09 19:39:01.015 INFO (MainThread) [music_assistant.players] Player registered: e9d43003-03f1-a22b-6247-7a260e01b168/Quarto do Felipe
2024-05-09 19:39:32.701 ERROR (MainThread) [music_assistant.webserver] Error handling message: player_queues/play: Resume queue requested but queue a7c034e7-b4c2-44a4-9118-19fc724852ad is empty
2024-05-09 19:41:12.299 INFO (MainThread) [music_assistant] Loaded player provider UPnP/DLNA Player provider
2024-05-09 19:41:12.517 INFO (MainThread) [music_assistant.players] Player registered: uuid:910355b0-6785-95e2-408f-d126df8160ef/[LG] webOS TV LM6300PSB
2024-05-09 19:41:13.687 INFO (MainThread) [music_assistant.players] Player registered: uuid:0d1cef02-00dc-1000-8d3a-90f1aa5bce3d/[HTS] Home Theater 
2024-05-09 19:42:10.857 ERROR (MainThread) [music_assistant.webserver] Error handling message: player_queues/play: Resume queue requested but queue uuid:0d1cef02-00dc-1000-8d3a-90f1aa5bce3d is empty
2024-05-09 19:45:09.380 INFO (MainThread) [music_assistant] Loaded player provider Home Assistant MediaPlayers
2024-05-09 19:45:09.673 INFO (MainThread) [music_assistant.players] Player registered: media_player.home_theater_do_escritorio/Home Theater do escritório

Additional information

No response

What version of Home Assistant Core are your running

2024.5.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)

OzGav commented 4 months ago

Looking at your video you are selecting it. When you click on a player that selects it. Back out of the player select and you should see the player you have selected indicated on the player bar at the bottom

OzGav commented 4 months ago

Also don’t use the HA players if there is a native MA player available.

felipecrs commented 4 months ago

Looking at your video you are selecting it. When you click on a player that selects it. Back out of the player select and you should see the player you have selected indicated on the player bar at the bottom

Oh wow! That was it. I can't believe. A little suggestion is to close the player selection screen once a player is selected. ;)

Also don’t use the HA players if there is a native MA player available.

Noted. Thanks!

Feel free to close this issue if no plans to implement anything in this regard.

OzGav commented 4 months ago

We won’t plan on closing that view on selection as you might be adjusting the volumes of multiple players or linking players.

Hope you enjoy using MA