mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Remove 24 hour limit for recently added
This commit is contained in:
parent
a27c423569
commit
7301fe5f6e
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue