mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Revert "Hack to check for live tv stopped websocket event"
This reverts commit 1245b4fbd3
.
This commit is contained in:
parent
1245b4fbd3
commit
e21a13b7ff
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue