mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
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:
parent
d4f205c366
commit
02e9002466
@ -329,6 +329,11 @@ class RoonDevice(MediaPlayerEntity):
|
|||||||
"""Album artist of current playing media (Music track only)."""
|
"""Album artist of current playing media (Music track only)."""
|
||||||
return self.media_artist
|
return self.media_artist
|
||||||
|
|
||||||
|
@property
|
||||||
|
def media_content_type(self) -> str:
|
||||||
|
"""Return the media type."""
|
||||||
|
return MediaType.MUSIC
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def supports_standby(self):
|
def supports_standby(self):
|
||||||
"""Return power state of source controls."""
|
"""Return power state of source controls."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user