architecture icon indicating copy to clipboard operation
architecture copied to clipboard

Add genre property to media_player

Open postlund opened this issue 4 years ago • 0 comments

Context

I want to expose the genre of what's current playing in the Apple TV integration, but it seems to be missing in the entity model.

Proposal

Introduce a new constant for genre (ATTR_MEDIA_GENRE) and add a genre property to MediaPlayerEntity. It should also be added to ATTR_TO_PROPERTY.

Consequences

It's just an other media property like the rest, shouldn't pose any problems other than "yet another property".

postlund avatar Dec 16 '20 18:12 postlund