[Pioneer AVR] Display the currently select input source as the media title (#1974)
This commit is contained in:
parent
393bd88091
commit
4a28be9a94
1 changed files with 5 additions and 0 deletions
|
@ -164,6 +164,11 @@ class PioneerDevice(MediaPlayerDevice):
|
||||||
"""List of available input sources."""
|
"""List of available input sources."""
|
||||||
return list(self._source_name_to_number.keys())
|
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):
|
def turn_off(self):
|
||||||
"""Turn off media player."""
|
"""Turn off media player."""
|
||||||
self.telnet_command("PF")
|
self.telnet_command("PF")
|
||||||
|
|
Loading…
Add table
Reference in a new issue