kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.48k stars 206 forks source link

Suggestion - Use Material artwork with transparent icon or text #726

Open Kickbut101 opened 1 year ago

Kickbut101 commented 1 year ago

This card looks like it'd be perfect to show only the artwork from a specific media device. I really love how the material displays the artwork, but if there is nothing else in the card except for the material artwork (I used the hide option to hide literally everything) the image in the artwork becomes incredibly small.

Currently I found that if I add back one of the icons, or the name for the card it will scale to an appropriate size. However I would like to keep the icon or name transparent. So that the size of the artwork is correct, and nothing is obstructing it. Is this possible?

My card:

Details type: custom:mini-media-player entity: media_player.plex_plex_for_android_tv_shield_android_tv group: false name: test volume_stateless: false artwork: material mini-media-player-name-font-weight: 1 hide: name: false icon: true info: true power: true source: true sound_mode: true controls: true prev: true next: true play_pause: true play_stop: true jump: true volume: true volume_level: true mute: true progress: true runtime: true runtime_remaining: true artwork_border: true power_state: true icon_state: true shuffle: true repeat: true scale: '10'

but in doing this it looks like this https://imgur.com/a/Q35d6Dd

Where instead I'd love if the card was this size, but without the visible name https://imgur.com/a/LacvODq

I am aware I may just be configuring something wrong, so any advice or pointers are more than welcome. Otherwise if this isn't a possibility may it be something I could request added?