Revert "Hack to check for live tv stopped websocket event"
This reverts commit 1245b4fbd3
.
This commit is contained in:
@@ -43,9 +43,6 @@ class ActivityHandler(object):
|
|||||||
if 'sessionKey' in self.timeline:
|
if 'sessionKey' in self.timeline:
|
||||||
if str(self.timeline['sessionKey']).isdigit():
|
if str(self.timeline['sessionKey']).isdigit():
|
||||||
return True
|
return True
|
||||||
# Hack since sessionKey is not in the live TV stopped event
|
|
||||||
elif self.timeline.get('key', '').startswith('/livetv/sessions') and self.timeline.get('state') == 'stopped':
|
|
||||||
return True
|
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user