kalkih / mini-media-player

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

Progress Bar invisible #784

Closed Emilef22 closed 7 months ago

Emilef22 commented 8 months ago

Hi! The progress bar of all my media players (sonos, android tv, chromecast) is invisible. Thanks a lot!

type: vertical-stack cards:

Jaykurb commented 8 months ago

My buttons are invisible now.

SDR3078 commented 8 months ago

It seems like all buttons are invisible

Jaykurb commented 8 months ago

I resolved this by removing all resources to do with mini player. Refreshing so that my cards broke.

I then restarted HA, installed the card the card again and it was all sorted.

SDR3078 commented 8 months ago

Did this also work for TTS input for you? Did not seem to work for me...

Jaykurb commented 8 months ago

I haven't got TTS implemented on my mini media player cards.

However, when I was trying to resolve my invisible buttons issue, I did enable TTS function quickly and it seemed to show (even when the buttons were invisible).

Emilef22 commented 8 months ago

It dont resolved the progress bar for me

ASNNetworks commented 8 months ago

Correct, seems like 2023.11.X has broken this somehow. In my case I have the progress bar color declared in the theme.yaml and color it there and use var(--) in the card. Perhaps something with themes in 2023.11 has changed?

cataseven commented 8 months ago

Same problem here. It is there but fully trasnparent

marcis92 commented 7 months ago

Correct, seems like 2023.11.X has broken this somehow. In my case I have the progress bar color declared in the theme.yaml and color it there and use var(--) in the card. Perhaps something with themes in 2023.11 has changed?

Hi @ASNNetworks, which variable have you used for the progress bar coloring?

WallyDW commented 7 months ago

The same is an issue with ballons on slider-row-entity cards. There is a fix for it in the PR here which might be of help to solve thise one too. https://github.com/thomasloven/lovelace-slider-entity-row/issues/279

punxaphil commented 7 months ago

Progress bar also stopped working in my Sonos Card after 2023.11, the fix was quite easy in the end. Just use a div with colored background, instead of <paper-progress>. https://github.com/johanfrick/custom-sonos-card/commit/b67505cc222129b0b6baba0835bfc0f21abeeef5

Boh1 commented 7 months ago

Possibly related, but the volume sliders are no longer showing numerical values above them any more after 2023.11.x .

regystro commented 7 months ago

In the meantime, does anyone know if that's fixable with card-mod CSS styles?

flyman1664 commented 7 months ago

Possibly related, but the volume sliders are no longer showing numerical values above them any more after 2023.11.x .

Change "ignore-bar-touch pin" by "ignore-bar-touch labeled pin". It fixes the issue ;)

Boh1 commented 7 months ago

I'm getting the impression that we will soon all be maintaining our own branches of this code.

flyman1664 commented 7 months ago

If anyone can figure out how to modify the card file to get the progressive bar working again would be very appreciated. I looked at @johanfrick modification but don't get what to change exactly in the file. Is the paper-progress element can be changed to an other variable?

Thank you in advance!

punxaphil commented 7 months ago

I can take a look, but won't be able to do so until next week.

punxaphil commented 7 months ago

@Drafteed @Californian Care to take a look at https://github.com/kalkih/mini-media-player/pull/793? (tagged you based on this: https://github.com/kalkih/mini-media-player/issues/789#issuecomment-1818949303)