Added a screenshot to LG Netcast TVs (#2694)

This commit is contained in:
Assaf Inbal 2016-08-01 07:58:55 +03:00 committed by Paulus Schoutsen
parent 6f23869a89
commit 51d5268f9f

View File

@ -163,6 +163,11 @@ class LgTVDevice(MediaPlayerDevice):
"""Flag of media commands that are supported.""" """Flag of media commands that are supported."""
return SUPPORT_LGTV return SUPPORT_LGTV
@property
def media_image_url(self):
"""URL for obtaining a screen capture."""
return self._client.url + 'data?target=screen_image'
def turn_off(self): def turn_off(self):
"""Turn off media player.""" """Turn off media player."""
self.send_command(1) self.send_command(1)