From 7301fe5f6e97e066273980f32a4c00e1d4231521 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Fri, 26 Jan 2018 12:29:38 -0800 Subject: [PATCH] Remove 24 hour limit for recently added --- plexpy/activity_handler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plexpy/activity_handler.py b/plexpy/activity_handler.py index 87a080f0..fd595de9 100644 --- a/plexpy/activity_handler.py +++ b/plexpy/activity_handler.py @@ -513,10 +513,10 @@ def on_created(rating_key, **kwargs): notify = True now = int(time.time()) - if helpers.cast_to_int(metadata['added_at']) < now - 86400: # Updated more than 24 hours ago - logger.debug(u"Tautulli TimelineHandler :: Library item %s added more than 24 hours ago. Not notifying." - % str(rating_key)) - notify = False + # if helpers.cast_to_int(metadata['added_at']) < now - 86400: # Updated more than 24 hours ago + # logger.debug(u"Tautulli TimelineHandler :: Library item %s added more than 24 hours ago. Not notifying." + # % str(rating_key)) + # notify = False data_factory = datafactory.DataFactory() if 'child_keys' not in kwargs: