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.38k stars 52 forks source link

Listings mass_event not working #1727

Closed Dabbadoeber closed 10 months ago

Dabbadoeber commented 10 months ago

What version of Music Assistant has the issue?

2023.6.0b6

The problem

The event handler does not show any event when trying to listen to mass_event.

How to reproduce

Start listing in developer events

Relevant log output

No response

Additional information

No response

What version of Home Assistant Core are your running

2023.12.4

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)

marcelveldt commented 10 months ago

May I first ask what you're trying to accomplish ? So why you are listening to mass_event ? I don't think we're still forwarding those events (I think we did in V1)

Dabbadoeber commented 10 months ago

Hi is see on the musci asssitant player, wich song is playing on Radio 2 (Top 2000) , i cast this to a goolge speaker but i dont not see any info in the states of this speaker, my goal is to get this information. and send it to my ulanzi tc001. so i can see the current played song on this matrix display. Gr. Rick

marcelveldt commented 10 months ago

OK, I have added an extra attribute to the media_player's attributes called "stream_title" which will include the title as it is broadcast by the radio station (if exists). This change will be available in the next update of the HA integration for MA so keep an eye on HACS updates.

Scherm­afbeelding 2023-12-30 om 02 25 29
OzGav commented 10 months ago

Please report if this still an issue after 2023.12.0 of the integration is released