Hi !
The “full-cover” artwork option actually does not display the entire cover in case of vertical artworks (movie posters for instance). See example below:
So I tried “full-cover-fit” option, which works great in this case. see screenshot below:
However, when the artwork is in ‘landscape’, the ‘full-cover-fit’ options adds black margins on top and bottom of the image :
So, is there a way to have a fit-to-width option or something similar ?
Right now the card looks for the media_content_type, if it’s music the card assumes the artwork is a perfect square 1:1 (album cover). If it’s video the artwork expects a thumbnail in 16:9 format and resizes the card accordingly.
This behaviour is very similar to the default media-control card.
full-cover-fit always displays in a square but instead of cropping the artwork it will resize it to fit and then display black bars if the aspect ratio isn’t 1:1.
I don’t think I’ll add any more artwork parameters, but I’m open to consider pull requests.
Just tried on one of my own CCAs and it worked, took a good 10-15sec for it to start playing though.
seems I found a bug with the sync_volume options for the Sonos Group
evenif I have not grouped my Sonos Player the volume will be synced across both players (see video)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py”, line 289, in _handle_service_platform_call
await func(entity, data)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/init.py”, line 515, in set_volume_level
raise NotImplementedError()
NotImplementedError
and
Not passing an entity ID to a service to target all entities is deprecated. Use instead: entity_id: “all”
Okay, interesting!
I’ve no Sonos myself so I’m not able to test the Sonos specific features very well unfortunately.
Next time you have this bug (or if it’s present all the time), please send me the attributes of both Sonos entities.
You can find the attributes by opening the sidebar and pressing the < > icon at the bottom, or navigate to /dev-state
The errors you posted are most likely related to this bug.
I’m very happy with the volume_stateless option, which I just noticed.
Is is perhaps possible to make the volume steps configurable? I see a single step is now a 10%
volume increase/decrease.
I just discovered the mini-media-player and well… well done. Now for us amateurs that use Amazon stuff (firesticks and echos), is there a way to get an “idle_view” for our devices that don’t go “idle” but go “standby”? Or is there a way and I’m just oblivious to it.