Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cover remains even after stopping playback #376

Closed
ricardoquecria opened this issue Aug 4, 2020 · 5 comments · Fixed by #391
Closed

Cover remains even after stopping playback #376

ricardoquecria opened this issue Aug 4, 2020 · 5 comments · Fixed by #391
Labels
bug Something isn't working

Comments

@ricardoquecria
Copy link

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

@nagyrobi
Copy link
Contributor

nagyrobi commented Aug 5, 2020

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?

@kalkih
Copy link
Owner

kalkih commented Aug 5, 2020

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.

@ricardoquecria
Copy link
Author

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

@nagyrobi
Copy link
Contributor

nagyrobi commented Aug 6, 2020

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

@kalkih
Copy link
Owner

kalkih commented Aug 7, 2020

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

@kalkih kalkih added the bug Something isn't working label Aug 7, 2020
@kalkih kalkih linked a pull request Aug 16, 2020 that will close this issue
@kalkih kalkih closed this as completed Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants