Revert "Hack to check for live tv stopped websocket event"

This reverts commit 1245b4fbd3.
This commit is contained in:
JonnyWong16 2018-05-27 14:13:24 -07:00
parent 1245b4fbd3
commit e21a13b7ff

View file

@ -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