kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.49k stars 205 forks source link

Source dropdown not shown #642

Open tomasbedrich opened 2 years ago

tomasbedrich commented 2 years ago

Hello, it was working previously – there was a source dropdown menu, which I could have used to select between recently played TuneIn (Sonos) radios. Now it is gone.

The configuration:

type: custom:mini-media-player
entity: media_player.living_room
source: full

screenshot 2022-04-10 at 20 45 06

Has something changed? Should I adjust my config?

tomasbedrich commented 2 years ago

Probably relevant: https://github.com/home-assistant/core/pull/67931

prnewman commented 2 years ago

@tomasbedrich That's definitely the reason. Without the source_list attribute, is there a way to get Sonos Favorites (Albums, Playlists, Radio) from the Media Browser programmatically?

image

tomasbedrich commented 2 years ago

I don't know.

I don't insist on having Favorites there. It would be perfectly fine for me to have a new config option of mini-media-player where I can manually specify contents of the Sources dropdown, if that's simpler. :)

kalkih commented 2 years ago

Unfortunately nothing I can do about there being no source_list for Sonos entities anymore.

@tomasbedrich Check out the shortcut shortcuts option where you can configure e.g. a list of custom items/actions. The difference being; the shortcut list will appear at the bottom of the card instead of at the top.

tomasbedrich commented 2 years ago

I understand :(

Would it be possible to add a new "sources option", where I can manually specify own list of sources?

I am asking because I like the dropdown UI more, rather than shortcut buttons.

kalkih commented 2 years ago

Try using the shortcut list option, that will give you a dropdown instead of buttons

Vansmak commented 2 years ago

Hello, it was working previously – there was a source dropdown menu, which I could have used to select between recently played TuneIn (Sonos) radios. Now it is gone.

The configuration:

type: custom:mini-media-player
entity: media_player.living_room
source: full

screenshot 2022-04-10 at 20 45 06

Has something changed? Should I adjust my config?

came her because i just noticed it as well. I see the link above that it is a HA issue that I sure hope they change because I really miss it.