Set media type correctly in the roon integration- so the media card correctly displays the artist. (#139871)

Set media type correctly - so media card display works properly.
This commit is contained in:
Greg Dowling 2025-03-08 01:59:04 +00:00 committed by GitHub
parent d4f205c366
commit 02e9002466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -329,6 +329,11 @@ class RoonDevice(MediaPlayerEntity):
"""Album artist of current playing media (Music track only)."""
return self.media_artist
@property
def media_content_type(self) -> str:
"""Return the media type."""
return MediaType.MUSIC
@property
def supports_standby(self):
"""Return power state of source controls."""