I suspect this is an issue in the updated Spotify component.
After a quick glance it seems like media_position_updated_at is reported very infrequent and isn’t really accurate/correct.
The card relies on media_duration, media_position, media_position_updated_at and the current time to calculate the progress. The reason we can’t use just media_duration & media_position is because media_position is not updated in “real time”, usually only updated when an attribute change in the component or on a specific interval.
You’ll see the same issue with the progress in the default media-control card.
I suggest opening an issue in the home assistant github repo.
How can I have the power button work correctly? I can turn the onkyo on, but not off…
I can use both following services (on and off) and the onkyo goes on and off:
How can I get the button in the mini media player to also work correctly?
I see in the mini media player that when spotifiy is playing on the onkyo it has “network_net” selected. But I can not “select” that entry if I use the drop down from the mini media player. How can I add that?
If I add:
This should be handled by the media player component, onkyo in your case. The card calls media_player.toggle by default, if toggle isn’t handled correctly by the component you can try using the option toggle_power: false, this will instead make the power button call media_player.turn_on & media_player.turn_on depending on the current state.
“NET” is possibly the same as “network_net”? Could it be that it’s exposed as “NET” but internally has the friendly name “network_net”. The source list will only populate sources exposed by your media player component, and you can’t configure it yourself, your configuration isn’t valid and won’t do anything.
Update your card, clear cache, reinstall if installed through HACS, double check the resource reference.
Here’s a similar issue solved by updating the resource reference.
Anyway, i want to get a single row per player
i know i can do that by hiding or the volume or the controls
but is there a way to get either:
the title , whats its playing and volume controls and a drop down list for the controls
or the other way around?
title, whats its playing and controls and a drop down to get the volume?
i see the power button does this in some sort of way for google home products but not for sonos
I love this card as well. I am using it for my Sonos installation. I have multiple players/groups. I wanted to have (just) on player card visible for each Sonos group.
Example. Say I have only two sonos. If they don’t play, I don’t see any card. I turn on one and I see one card. I turn on the 2nd sonos and the 2nd card. I join both sonos in a group and I see only one card. Less clutter.
This works already. I did that with a condition card based on a sensor which tells me if a Sonos is master in a group. Only for the master the card is shown. Works perfect.
One thing is missing. I want to be able to change the volume of each sonos separatly in one card.
Is there a way to have a volume slider in the mini-media-player for each player in the group?
@rak I had this exact problem and solved it using state-switch based on an Input Boolean for if in group and not master (here) and showed a cut down version of the each player with only volume controls (hide options for info, control, source and power)
@Jeremy, thats a good idea. Instead of hiding it totally, only show the volume slider for those which are not master. I will try. note to self be ashamed to not come up with the idea by yourself ,-).
How can I have Roku as the player but the volume slider for the TV through a Harmony? I already have scripts setup for tv_vol_up, tv_vol_dn, and tv_vol_mute which I verified function as entities but what don’t know how to do is have the volume in the Mini Media Player for the TV but have the source selection from the Roku.
Hi ,
sorry to bother , how did you manage to have the multiroom with alexas
I added 3 dfferent players Room a room b room a+b , due to i use to “fake” the request to play on the multiroom name created on amazon it start then playng on all the 3 entities.
In your case i see only 1 card , how can yo triggere one or the other layer , or both if you want to play multiroom and what are you streaming from?
Thanks
Not sure if this is a problem with the lovelace, the card, chrome or my homeassisant… BUT:
I have a mini media player card and whenever i want to edit this in my lovelace code-editor my browsers crash. So far, i only observed it with this specific card:
Is there a variable to ALWAYS show the Sonos Group Speakers? I’m building this card as part of a wall-mount tablet setup, and I don’t want the card size to consistently change. I was hoping it to always display the speaker group upon initial load and stick there that way. Anyone else accomplish this?