From 42b17ca495fa8e385fd33d74f051baad02182b83 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Mon, 1 Jun 2020 16:44:01 -0700 Subject: [PATCH] Change default recently added notification delay to 300s --- data/interfaces/default/settings.html | 2 +- plexpy/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 212d5c1b..32eed44f 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -1047,7 +1047,7 @@ -

Set the delay (in seconds) to wait for consecutive recently added items to group together and to allow metadata to be processed before sending the notification. Minimum 60 seconds.

+

Set the delay (in seconds) to wait for consecutive recently added items to group together and to allow metadata to be processed before sending the recently added notification. Minimum 60 seconds, default 300.

diff --git a/plexpy/config.py b/plexpy/config.py index d2947084..0ae289da 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -348,7 +348,7 @@ _CONFIG_DEFINITIONS = { 'NOTIFY_GROUP_RECENTLY_ADDED': (int, 'Monitoring', 1), 'NOTIFY_UPLOAD_POSTERS': (int, 'Monitoring', 0), 'NOTIFY_RECENTLY_ADDED': (int, 'Monitoring', 0), - 'NOTIFY_RECENTLY_ADDED_DELAY': (int, 'Monitoring', 60), + 'NOTIFY_RECENTLY_ADDED_DELAY': (int, 'Monitoring', 300), 'NOTIFY_RECENTLY_ADDED_GRANDPARENT': (int, 'Monitoring', 0), 'NOTIFY_RECENTLY_ADDED_UPGRADE': (int, 'Monitoring', 0), 'NOTIFY_CONCURRENT_BY_IP': (int, 'Monitoring', 0),