@kalkih Is it possible to have the new background image go full background without the border? It was when I first loaded the card
Looks like you are nesting the mini-media-player inside an entities card?
The card canât change/manipulate stuff higher up in the hierarchy (like the margins of the entities card in this case).
It will look better if you donât nest it:
Itâs part of a vertical stack but I wouldnât think that should effect it. Could it be that it is grouped but the only media player in the group?
Youâre right it was in entities card think this was when I used to have multiple media_players in the same card.
Cheers
have you tried group: false
?
No, that canât be it, the vertical stack does not add margins or paddings and doesnât have a background.
It looks like the mini media player is wrapped inside something that has margins/paddings.
Would be awesome if you could (right click -> inspect) on the padding to bring up the html to easier figure out what it could be.
Hi,
I added this line to my configuration file
custom_updater:
card_urls:
- https://raw.githubusercontent.com/rdehuyss/homeassistant-lovelace-google-calendar-card/master/custom_updater.json
- https://raw.githubusercontent.com/kalkih/mini-media-player/master/tracker.json
But when I open my lovelace ui, its not showing under my tracker?
What am I missung?
Try this:
custom_updater:
track:
- cards
card_urls:
- https://raw.githubusercontent.com/rdehuyss/homeassistant-lovelace-google-calendar-card/master/custom_updater.json
- https://raw.githubusercontent.com/kalkih/mini-media-player/master/tracker.json
Hi, it was working fine until yesterday, now something happened which I am not sure what it is.
On Chrome desktopo everything is fine, on Chrome Android the mini media player disappeared, I see at the bottom a popup service system_log/write called
Please check the system log for the error message, you can access it by pressing the icon in the lower right corner of the sidebar.
on my mobile
https://unpkg.com/@polymer/[email protected]/lib/utils/async.js?module:42:11 Uncaught Error: _render() not implemented
16:53 components/system_log/init.py (ERROR)
Ugghh, seems to be an issue with the external dependency? Strange that it was working before, nothing shouldâve changed in the last week.
Try clearing the browser cache or restart HA.
New Update: v0.8.8
-
.Added:
hide_icon
option to optionally hide the entity icon -
Added: ellipsis instead of clipping the entity name if text overflows
-
Added: fade in/out effect for media info text when
scroll_info
is enabled -
Added: various minimalistic transitions
-
Fixed: made ellipsis for media info or entity name text overflow work in more browsers
-
Fixed: Improved responsive design for small screens
-
Fixed: minor alignment issue of the mute button while using
hide_controls
-
Removed: source select dropdown animation
Thanks man! Right on!
Great job.
Tusen tack!
It is possible to add an option name_from_source: true
?
Now I can do this by changing in the file mini-media-player.js
_computeName() { return this.config.name || this.entity.attributes.source; }
Amazing to see this plugin getting further developed! It was amazing how easy it was to implement and how perfectly polished it was for my requirements off the bat.
Not sure if anyone else is using this with sonos and finds that players always remain with the last paused track on the front end (its a great feature on the actual devices - as I always just hit pause / play and get music cranking) however on the front end it bloats me with non-active players.
Might just be a sonos only issue - not sure if anyone else ran into it, they dont really have a âpowerâ button on the unit when you finish listening.
Yes, I understand the problem, I think itâs mostly relevant to Sonos but could be relevant for various other players that doesnât turn off (like the Spotify component).
I donât own Sonos myself but I know Sonos doesnât turn off like most other devices do, and as you said that it keeps the last played media available, to be able to quickly resume playback at a later point.
This is also the information the HA Sonos component is providing the frontend and also why the card think the Sonos is âactiveâ even though you might consider it not.
Iâm not sure how we best could solve this. The first idea that comes to my mind is to add an option to have the state paused
& idle
treated as off
. That would have itâs downsides though as you wouldnât be able to control the Sonos if itâs paused.
Iâm not sure when the state idle
is reported instead of paused
, if for example the player reports idle
after being paused for a certain amount of time we could potentially treat it as off. This would be a better solution imo (if it works).
Would be great if you could investigate when / what triggers the Sonos state change from paused
to idle
.
Thanks!
That could certainly be added, however I donât want to over saturate with configuration options.
I donât think Iâm going to add this, at least not now, unless I get more requests.
Looks like it state is left is âpausedâ
And my daughter always loves listening to Dora on our deck
It does have the date it was last updated at though⊠(2 days ago)
{
âvolume_levelâ: 0.41,
âis_volume_mutedâ: false,
âmedia_content_typeâ: âmusicâ,
âmedia_durationâ: 84,
âmedia_positionâ: 82,
âmedia_position_updated_atâ: â2018-10-24T07:59:25.395385+00:00â,
âmedia_titleâ: âChasing A Ball Of Stringâ,
âmedia_artistâ: âDora The Explorerâ,
âmedia_album_nameâ: âDora Rocks! Music From The Special & More!â,
âsource_listâ: [
âBBC Radio 1Xwtraâ,
âCosta Del Mar (Chillout)â,
âDora The Explorer Radioâ,
âFlight Facilities Radioâ,
âHot Hits Australiaâ,
âIbiza Global Radioâ,
âJazzâ,
âJazz Classicsâ,
âLate Night Jazzâ,
âLikesâ,
âMinistry Of Sound: Chillout Sessions XIâ,
âMonster Dance Hitsâ,
âNova 969 96.9 (Top 40/Pop)â,
âOcean Sounds â Ocean Waves Soundsâ,
âOldskool Radioâ,
âPaul Kalkbrenner Radioâ,
âSpanish Musicâ,
âStarredâ,
âStewâs Birthdayâ,
âStewartâs 2016 September Playlistâ,
âStews Playlist Oct 2015â,
âUltimate Coversâ,
âLine-inâ
],
âshuffleâ: false,
âsonos_groupâ: [
âmedia_player.amp_deckâ,
âmedia_player.new_kitchenâ
],
âfriendly_nameâ: âDeckâ,
âentity_pictureâ: â/api/media_player_proxy/media_player.amp_deck?token=bfdae3ecc4758ab39861f260c1170d361aedd4f52e4914a649fefc91b89971c8&cache=c35bc081ed1c141eâ,
âsupported_featuresâ: 64063
}w
Haha
Alright, thatâs unfortunate.
Thatâs interesting, perhaps we could use the media_position_updated_at
to determine if the Sonos should be considered off? Hopefully itâs always present. What do you think?
Where do you specify those nice icons you use and are they somehow default?