Can I use this card if I use the Lovelace GUI mode? There is no ui-lovelace.yaml file. Have I to create this file? Even if I use the storage lovelace mode?
Yes you can, you just need to add the resource reference to mini-media-player-bundle.js in the auto generated lovelace file stored in /config/storage/lovelace instead of adding it in ui-lovelace.yaml .
Thanks - this took me a while to find (perhaps it could be included in the github readme)
I don’t know if this is the correct thread but i am having problems with the spotify media player as it (in the list of source devices) shows always and only the echo devices, while the sonos one are never present in that list like the chromecast audio… Is this behaviour depending from the media_player.spotify or from the mini-media-player? I read that the devices will appear after they are powered and in fact the echo devices appear to me always on. How to make sonos and chromecast appear always on so they are listed by default in the available source devices?
It has nothing to do with this card, this card simply displays the source list exposed by the component, so it’s backend related.
You could try adding an alias for each device in your Spotify component configuration, as discussed here, didn’t solve the issue for me with my Chromecasts though.
When I start my radio via google home, BACKGROUND, ICON, and TEXT appear in the player.
When I run the same radio through the button, I do not have these things.
Can they also be displayed somehow? Radio is poured from tunein (button url also downloaded from tunein)
The thumbnail and the station name is probably provided by tunein.
The shortcut buttons simply use the media_player.play_media service to start media playback, which grabs the provided url and streams it, the stream itself does most likely not contain any metadata in this case, and is why you don’t see any media information in your cards.
EDIT: if the stream actually contains metadata, it’s possible that it isn’t supported in the cast component through the default media receiver.
@Christian_Hollbjar:
Whenever I add your lines in the raw config editor I get an error message “unable to parse the yaml…”
"… bad indentation of a mapping entry in line 4 position 4.