home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.77k stars 30.48k forks source link

Music Player Daemon (MPD) - when activated, the control panel in multimedia is not displayed #94342

Closed siaua closed 1 year ago

siaua commented 1 year ago

The problem

After updating to core-2023.6.0, the playback control panel and playback source selection no longer appear in the Multimedia tab. Figured out that the problem is caused by the Music Player Daemon (MPD). When deleting its config: the problem disappears. Everything worked fine before the update.

What version of Home Assistant Core has the issue?

2023.6.1

What was the last working version of Home Assistant Core?

2023.5.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Music Player Daemon (MPD)

Link to integration documentation on our website

https://www.home-assistant.io/integrations/mpd/

Diagnostics information

No response

Example YAML snippet

media_player:
 -platform: mpd
  host: 243ffc37-mpd
  port: 6600

Anything in the logs that might be useful for us?

No response

Additional information

The integration itself from the scripter and automation works.

home-assistant[bot] commented 1 year ago

mpd documentation mpd source

wildoracle commented 1 year ago

I'm also having this same issue, but I'm not (AFAIK) using Music Player Daemon, unless that's what ytube_music_player in HACS is using to operate. But the end result is the same... the entire bottom panel in the media tab is not showing up at all.

NightSta1k3r commented 1 year ago

I'm also having the same issue TTS does not work anymore after 2023.6.0 update. Cannot select playback device at bottom right as it is blank. All my automations usings TTS don't work anymore.

dauden1184 commented 1 year ago

The issue seems to be that those media player doesn't have a unique id and the javascript managing the media panel break because of this. I just tested adding a dummy unique id to the ytube music player integration and the panel is back.

I think this is the commit that changed the behaviour

NightSta1k3r commented 1 year ago

Thanks for the advice but I am not a programmer so I have no idea how to do what you said.

siaua commented 1 year ago

I have Home Assistant OS, how can I fix this?

WiseLord commented 1 year ago

Having the same issue. Checked on PC with some versions of HomeAssistant Core and here are my results:

issue-triage-workflows[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.