I like the card really much and most times the compact mode is what I like. However in one place I want it a little bigger and thankfully there are options for this, too, and most I want I could achieve.
things are getting startet. However I wanted the layout a bit less condensed and this
.mmp-player__core.flex {
flex-flow: wrap;
}
helped.
However, I like to have the powerstrip to the left.
I tried to play around with variations of
mmp-powerstrip:
$: |
{
margin-left: 0px;
}
But I cannot get it to work. I can get things to work in the devtools of the browser, but addressing the custom HTML-element is my problem, I think I havenāt understood fully how that works.
So any help how to address the mmp-powerstrip-element is addressed is much appreciated.
Card-mod is enabled and putting the right css isnāt the big problemā¦ But how to apply them to the element.
Is it possible to replace automatic elements of the player with other sensor data? For example, Iām using my Chromecast Audio named āBasement speakerā to stream radio stations. When I stream a station, the default player looks like this:
Separately, Iāve created scrape sensors to obtain the current song and artist of a radio station. I can display that information in a separate entities card:
What Iād like to do is to combine the two, so that the mini media card displays sensor.kgbi_songname instead of Basement speaker and sensor.kgbi_artist instead of Default Media Receiver. Is this possible? Iām looking through the many options of the card but not seeing a way to accomplish this.
Hi @kalkih, in the latest version (V1.12), the card does not fetch the defined media player icon. It shows the default ācastā icon for all media players.
Iāve partially solved this myself using the Lovelace card-templater card (Jinja2 card templating in Lovelace!). I replaced the name with a template and hid the āDefault Media Receiver.ā Iād still prefer to be able to replace that element as well. Anyway, my new cardās code is:
Iām about 90% satisfied with this setup. All thatās left is to nest this inside a conditional that displays this card if Iām actually listening to KGBI, otherwise it will display a basic card. Then if I can capture the album art as Iāve written about here: Scrape Help Needed for Radio Station, Iād like to template the background to be the result of that scrape.
im missing one small thing. When i use the default original media player card thereās a button (when using spotify) that give me direct access to the media browser.
I do have a strange behavior with mini-media-player since a few weeks
Every time when I open home assistant on my phone or even on my computer it takes a while till mini-media-player is loaded. First it shows me that the custom component cannot be found. but after a few moments it is loaded (see attached gif)
Ideally I think Iām supposed to have the media_player.multiroom_player control the source, play, pause, next and then the power buttons for media_player.living_room and media_player.outside are controlled by the power buttons.
I have looked and canāt figure out how to setup the media_player.multiroom_player which would control the stations from my sonos system. Hopefully someone has this working with Sonos and itās easy. Any guidance is greatly appreciated.
I have a question and a response to Jarne_Roussard:
Question: So it appears like I need to setup a media player to act as the source. I have Sonos which I thought was a media player but it doesnāt appear to be working if I put in in the yaml in the place of media_player.multiroom_player. Does everyone setup a separate media player on their machines?
The card first shown in my request above is developed by Kalkih and can be found here: