mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-23 01:43:43 +00:00
Added in min_update_frequency
This commit is contained in:
parent
1cfe91eb80
commit
b64f12e940
1 changed files with 4 additions and 4 deletions
|
@ -171,7 +171,7 @@ BACKLOG_SEARCH_FREQUENCY = 21
|
||||||
UPDATE_FREQUENCY = None
|
UPDATE_FREQUENCY = None
|
||||||
|
|
||||||
MIN_SEARCH_FREQUENCY = 10
|
MIN_SEARCH_FREQUENCY = 10
|
||||||
|
MIN_UPDATE_FREQUENCY = 1
|
||||||
DEFAULT_SEARCH_FREQUENCY = 40
|
DEFAULT_SEARCH_FREQUENCY = 40
|
||||||
DEFAULT_UPDATE_FREQUENCY = 12
|
DEFAULT_UPDATE_FREQUENCY = 12
|
||||||
|
|
||||||
|
@ -479,7 +479,7 @@ def initialize(consoleLogging=True):
|
||||||
USE_PUSHALOT, PUSHALOT_NOTIFY_ONSNATCH, PUSHALOT_NOTIFY_ONDOWNLOAD, PUSHALOT_NOTIFY_ONSUBTITLEDOWNLOAD, PUSHALOT_AUTHORIZATIONTOKEN, \
|
USE_PUSHALOT, PUSHALOT_NOTIFY_ONSNATCH, PUSHALOT_NOTIFY_ONDOWNLOAD, PUSHALOT_NOTIFY_ONSUBTITLEDOWNLOAD, PUSHALOT_AUTHORIZATIONTOKEN, \
|
||||||
USE_PUSHBULLET, PUSHBULLET_NOTIFY_ONSNATCH, PUSHBULLET_NOTIFY_ONDOWNLOAD, PUSHBULLET_NOTIFY_ONSUBTITLEDOWNLOAD, PUSHBULLET_API, PUSHBULLET_DEVICE, \
|
USE_PUSHBULLET, PUSHBULLET_NOTIFY_ONSNATCH, PUSHBULLET_NOTIFY_ONDOWNLOAD, PUSHBULLET_NOTIFY_ONSUBTITLEDOWNLOAD, PUSHBULLET_API, PUSHBULLET_DEVICE, \
|
||||||
versionCheckScheduler, VERSION_NOTIFY, AUTO_UPDATE, PROCESS_AUTOMATICALLY, UNPACK, \
|
versionCheckScheduler, VERSION_NOTIFY, AUTO_UPDATE, PROCESS_AUTOMATICALLY, UNPACK, \
|
||||||
KEEP_PROCESSED_DIR, PROCESS_METHOD, TV_DOWNLOAD_DIR, MIN_SEARCH_FREQUENCY, DEFAULT_UPDATE_FREQUENCY,\
|
KEEP_PROCESSED_DIR, PROCESS_METHOD, TV_DOWNLOAD_DIR, MIN_SEARCH_FREQUENCY, DEFAULT_UPDATE_FREQUENCY,MIN_UPDATE_FREQUENCY,\
|
||||||
showQueueScheduler, searchQueueScheduler, ROOT_DIRS, CACHE_DIR, ACTUAL_CACHE_DIR, \
|
showQueueScheduler, searchQueueScheduler, ROOT_DIRS, CACHE_DIR, ACTUAL_CACHE_DIR, \
|
||||||
NAMING_PATTERN, NAMING_MULTI_EP, NAMING_FORCE_FOLDERS, NAMING_ABD_PATTERN, NAMING_CUSTOM_ABD, NAMING_STRIP_YEAR, \
|
NAMING_PATTERN, NAMING_MULTI_EP, NAMING_FORCE_FOLDERS, NAMING_ABD_PATTERN, NAMING_CUSTOM_ABD, NAMING_STRIP_YEAR, \
|
||||||
RENAME_EPISODES, properFinderScheduler, PROVIDER_ORDER, autoPostProcesserScheduler, \
|
RENAME_EPISODES, properFinderScheduler, PROVIDER_ORDER, autoPostProcesserScheduler, \
|
||||||
|
@ -629,8 +629,8 @@ def initialize(consoleLogging=True):
|
||||||
SEARCH_FREQUENCY = MIN_SEARCH_FREQUENCY
|
SEARCH_FREQUENCY = MIN_SEARCH_FREQUENCY
|
||||||
|
|
||||||
UPDATE_FREQUENCY = check_setting_int(CFG, 'General', 'update_frequency', 12)
|
UPDATE_FREQUENCY = check_setting_int(CFG, 'General', 'update_frequency', 12)
|
||||||
if UPDATE_FREQUENCY < UPDATE_FREQUENCY:
|
if UPDATE_FREQUENCY < MIN_UPDATE_FREQUENCY:
|
||||||
UPDATE_FREQUENCY = UPDATE_FREQUENCY
|
UPDATE_FREQUENCY = MIN_UPDATE_FREQUENCY
|
||||||
|
|
||||||
NZB_DIR = check_setting_str(CFG, 'Blackhole', 'nzb_dir', '')
|
NZB_DIR = check_setting_str(CFG, 'Blackhole', 'nzb_dir', '')
|
||||||
TORRENT_DIR = check_setting_str(CFG, 'Blackhole', 'torrent_dir', '')
|
TORRENT_DIR = check_setting_str(CFG, 'Blackhole', 'torrent_dir', '')
|
||||||
|
|
Loading…
Reference in a new issue