Make UI more responsive to power off for Samsung Smart TV (#4438)
This commit is contained in:
parent
82ed7b6b08
commit
779f520c56
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ class SamsungTVDevice(MediaPlayerDevice):
|
|||
def turn_off(self):
|
||||
"""Turn off media player."""
|
||||
self.send_key('KEY_POWEROFF')
|
||||
# Force closing of remote session to provide instant UI feedback
|
||||
self.get_remote().close()
|
||||
|
||||
def volume_up(self):
|
||||
"""Volume up the media player."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue