Unused now time
This commit is contained in:
@@ -511,8 +511,8 @@ def on_created(rating_key, **kwargs):
|
|||||||
|
|
||||||
if metadata:
|
if metadata:
|
||||||
notify = True
|
notify = True
|
||||||
now = int(time.time())
|
# now = int(time.time())
|
||||||
|
#
|
||||||
# if helpers.cast_to_int(metadata['added_at']) < now - 86400: # Updated more than 24 hours ago
|
# 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."
|
# logger.debug(u"Tautulli TimelineHandler :: Library item %s added more than 24 hours ago. Not notifying."
|
||||||
# % str(rating_key))
|
# % str(rating_key))
|
||||||
|
Reference in New Issue
Block a user