Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Improve average color algorithm in media player #421

@martonborzak

Description

@martonborzak

Expected Behavior or Design

The background color of the media player card perfectly matches the image.

Current Behavior or Design

Sometimes the background color is a bit off.

Detailed Description and Additional Information

The new Home Assistant media player card does a good job at this: https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/hui-media-control-card.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions