Mini-media-player: Cover remains even after stopping playback

Created on 4 Aug 2020  路  5Comments  路  Source: kalkih/mini-media-player

I updated today to the latest version and noticed that the cover remains as a background even after it stops playing.

In the image above I transferred a reproduction of the Chromecast to the Google Mini and look what happened to the cover.
image

bug

All 5 comments

Start media palyback to see the cover.
In developer tools, look for your media player entity and see for the attribute entity_picture, what value does it show?
Stop media player. If you still see the cover, go back to the developer tools, select any other entity (a switch for example, to clear the webpage cache) and then select again your media player entity. Is the entity_picture still there, and if is, what's the value?

When media is stopped, entity_picture should be None (or not visible in the attributes list). This behaviour is controlled by the media player integration.
Also you could try with HA's builtin media player card, does it behave similar?

Yeah, check the attributes as @nagyrobi described, if the entity_picture is still set, the artwork will be displayed.
What browser are you running?
I have a chromecasts myself and they seem to clear artwork as expected.

Stand-by
image

Playing
image

Stoped
image

I use some png backgrounds on my mmp. I noticed that the png image is defined as background-image in mmp__bg.

When I'm playing something, the cover of the song is replacing my default background. And when playback is stopped, the background image remains with the media artwork.

I noticed that if I remove the variable "--bg" my background disappears and the behavior of the artwork goes back to normal.

image

Aaah that's not a usual case then...

Thanks for the details, something wonky when using the background option then, am on vacation atm so can't fix, but will look into it when I get home

Was this page helpful?
0 / 5 - 0 ratings

Related issues

twistp picture twistp  路  5Comments

poldim picture poldim  路  4Comments

hulkhaugen picture hulkhaugen  路  3Comments

jjlawren picture jjlawren  路  4Comments

quantummobile picture quantummobile  路  3Comments