diff --git a/src/cards/ha-media_player-card.html b/src/cards/ha-media_player-card.html old mode 100644 new mode 100755 index 26637e5fac..146133479b --- a/src/cards/ha-media_player-card.html +++ b/src/cards/ha-media_player-card.html @@ -38,6 +38,10 @@ transition: padding-top .8s; } + .banner.content-type-music:before { + padding-top: 100%; + } + .banner.no-cover:before { padding-top: 91px; } @@ -235,6 +239,10 @@ Polymer({ cls += ' no-cover'; } + if (playerObj.stateObj.attributes.media_content_type === 'music') { + cls += ' content-type-music'; + } + return cls; },