mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Add additional property media_channel to media_player in squeezebox component (#86402)
Add additional property media_channel to media_player
This commit is contained in:
parent
310d7718a0
commit
80a8da26bc
@ -363,6 +363,11 @@ class SqueezeBoxEntity(MediaPlayerEntity):
|
|||||||
"""Title of current playing media."""
|
"""Title of current playing media."""
|
||||||
return self._player.title
|
return self._player.title
|
||||||
|
|
||||||
|
@property
|
||||||
|
def media_channel(self):
|
||||||
|
"""Channel (e.g. webradio name) of current playing media."""
|
||||||
|
return self._player.remote_title
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def media_artist(self):
|
def media_artist(self):
|
||||||
"""Artist of current playing media."""
|
"""Artist of current playing media."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user