kalkih / mini-media-player

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

art work not working when casting with google cast integration #586

Open jurasmus opened 2 years ago

jurasmus commented 2 years ago

It seems like art work not working when casting the mini player card to a Google Nest Hub 2 by using the Google Cast integration. Im getting art work on the mobile application while on the google screen its blank.

image

So it looks like the art is stored in the API (?) and maybe a place where the google casting is not getting the information. here from the Developer/states

image
jurasmus commented 2 years ago

just adding a comment that this works by using the built in media card. adding a photo of mini-player on left and standard media player on right side.

image
paolo1983 commented 2 years ago

Same issue. Is there a workaround?

jtonk commented 2 years ago

Recently all my custom cards started started playing nice on my google nest hub, great, except mini media player.

It loads, but doesn't show the artwork, also the color of the controls stay white and don't follow the theme or artwork colors like it does on other devices.

Maybe unrelated to this specific issue, but this card doesn't follow theme colors, for example shortcut buttons are white or black, but never blue in the default theme.

my guess is that this card handles colors and themes different than other cards, but I'm not experienced enough to understand what's going on in the code.

I also noticed that when the theme is switched from light to dark, the mini media player card doesn't update by itself, but requires a 'refresh'

cjsmns commented 2 years ago

I have the same issue. I've just created myself a dashboard to show on desk hub, and no artwork displays.

alfonsocasadodiez commented 2 years ago

Same issue here, any news on this?

cjsmns commented 2 years ago

I've just had a quick look. Looks like MMP encodes the image from the API to Base64 and uses that on the card. I don't know enough about this stuff to see if there is an issue with the code of this card, or if it's the way Google renders Base64. From my quick Googling, it is possible to display Base64 images, so maybe it's an easy fix.

vegardhw commented 1 year ago

Any updates regarding this issue?

24hourbullshit commented 1 year ago

Unfortunately, I have the same issue, after struggling to get the MMP to show in the first place.

DaveCBr commented 1 year ago

I have been reading along. Same issue here. Art will not cast.

djansen1987 commented 11 months ago

Today installed this component and have the same issue

KazemaRyukuro commented 4 months ago

2 years without any fix for this problem?