[Pioneer AVR] Display the currently select input source as the media title (#1974)

pull/1662/merge
Kyle Hendricks 2016-05-06 20:57:57 -04:00 committed by Paulus Schoutsen
parent 393bd88091
commit 4a28be9a94
1 changed files with 5 additions and 0 deletions

View File

@ -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")