Open Ulrar opened 1 year ago
How does it looks with the official entities card ?
Do you mean type: entity
?
I'm not quite sure how to display the entity_picture with that card ? It's an attribute on the media player, not the entity icon
type: entities
entities:
- media.player.your_entity
This card should display the picture if there is one.
Ah sorry yes, entities.
It looks like this : Which isn't great either
I think the best solution is to crop the image to a square format to have better support everywhere (entities card, entity picker, etc...)
If you mean the source picture, picons are shipped with TVHeadEnd in the container. They can be overriden but that'd mean having to edit hundreds of pictures, and I'm not sure how that would render in 'normal' use in the htsp clients which are likely expecting that aspect ratio. If we can't get that cropping option in the media player card, I'll just leave it like that or disable the use of the entity_picture I guess
Requirements
Is your feature request related to a problem?
When I use Kodi to play TVHeadEnd channels, the entity_picture is set from a picon for the channel. That icon gets squashed a bit by the media player card :
Details of that picture :
Describe the solution you'd like
It'd be nice to be able to select the fit type when the aspect ratio isn't optimal for the card, in this case I'd probably choose to crop it or make it smaller rather than force it squashed.
Describe alternatives you've considered
No response
Additional context
No response