kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.52k stars 207 forks source link

FR: Add Switch to display Playlist Name instead of Mediaplayer Name #696

Open RoepLuke opened 2 years ago

RoepLuke commented 2 years ago

Currently when using the mini-media-player card with a typical music provider entity (for example Spotify) the displayed 'Name'-Property shows the friendly name of the Mediaplayer entity.

It would be nice to be able to display the Name of the current Playlist instead.

This could be possible by adding a new (optional and only YAML) option to display the Playlist name instead or after the Name of the Mediaplayer. This should only take effect if the mediaplayer entity has media_content_type=music and a non-empty media_playlist attribute.

Lovelace-mediaplayer_1.png

State-Spotify_1_1.png

ciclocaffe commented 5 months ago

any news on this one?