kalkih / mini-media-player

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

Supporting template for background #774

Open arretx opened 10 months ago

arretx commented 10 months ago

I have a Monoprice amp that creates 6 media_players with no attribute for album artwork. When my Picore player plays a song it pulls the album artwork and shows it in the entity_picture attribute. I figured I could manually create an attribute in the Monoprice media player zone which would allow me to copy the value from the picore player to the zone player. It works, but only temporarily as it wipes itself out after a few seconds...which is what led me to the mini-media-player.

I'm not sure if it's possible, but I want to use {{ a template }} to populate the background option of this card with the picore player entity_picture attribute so the correct artwork is displayed. Is that possible?