[Pioneer AVR] Display the currently select input source as the media title (#1974)
parent
393bd88091
commit
4a28be9a94
|
@ -164,6 +164,11 @@ class PioneerDevice(MediaPlayerDevice):
|
|||
"""List of available input sources."""
|
||||
return list(self._source_name_to_number.keys())
|
||||
|
||||
@property
|
||||
def media_title(self):
|
||||
"""Title of current playing media."""
|
||||
return self._selected_source
|
||||
|
||||
def turn_off(self):
|
||||
"""Turn off media player."""
|
||||
self.telnet_command("PF")
|
||||
|
|
Loading…
Reference in New Issue