Switch recently added to only use activity pinger

* Fixed activity pinger logic for grouping notifications
This commit is contained in:
Jonathan Wong
2015-11-16 21:19:04 -08:00
parent 53044c75dd
commit 69a3b5134f
5 changed files with 56 additions and 50 deletions

View File

@@ -139,14 +139,14 @@ def process(opcode, data):
activity = activity_handler.ActivityHandler(timeline=time_line[0])
activity.process()
if type == 'timeline':
try:
time_line = info.get('_children')
except:
logger.debug(u"PlexPy WebSocket :: Timeline event found but unable to get timeline data.")
return False
#if type == 'timeline':
# try:
# time_line = info.get('_children')
# except:
# logger.debug(u"PlexPy WebSocket :: Timeline event found but unable to get timeline data.")
# return False
activity = activity_handler.TimelineHandler(timeline=time_line[0])
activity.process()
# activity = activity_handler.TimelineHandler(timeline=time_line[0])
# activity.process()
return True