Make UI more responsive to power off for Samsung Smart TV (#4438)
This commit is contained in:
committed by
Paulus Schoutsen
parent
82ed7b6b08
commit
779f520c56
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user