diff --git a/sickbeard/__init__.py b/sickbeard/__init__.py index 3a1cbe35..574070d8 100644 --- a/sickbeard/__init__.py +++ b/sickbeard/__init__.py @@ -171,7 +171,7 @@ BACKLOG_SEARCH_FREQUENCY = 21 UPDATE_FREQUENCY = None MIN_SEARCH_FREQUENCY = 10 - +MIN_UPDATE_FREQUENCY = 1 DEFAULT_SEARCH_FREQUENCY = 40 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_PUSHBULLET, PUSHBULLET_NOTIFY_ONSNATCH, PUSHBULLET_NOTIFY_ONDOWNLOAD, PUSHBULLET_NOTIFY_ONSUBTITLEDOWNLOAD, PUSHBULLET_API, PUSHBULLET_DEVICE, \ 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, \ NAMING_PATTERN, NAMING_MULTI_EP, NAMING_FORCE_FOLDERS, NAMING_ABD_PATTERN, NAMING_CUSTOM_ABD, NAMING_STRIP_YEAR, \ RENAME_EPISODES, properFinderScheduler, PROVIDER_ORDER, autoPostProcesserScheduler, \ @@ -629,8 +629,8 @@ def initialize(consoleLogging=True): SEARCH_FREQUENCY = MIN_SEARCH_FREQUENCY UPDATE_FREQUENCY = check_setting_int(CFG, 'General', 'update_frequency', 12) - if UPDATE_FREQUENCY < UPDATE_FREQUENCY: - UPDATE_FREQUENCY = UPDATE_FREQUENCY + if UPDATE_FREQUENCY < MIN_UPDATE_FREQUENCY: + UPDATE_FREQUENCY = MIN_UPDATE_FREQUENCY NZB_DIR = check_setting_str(CFG, 'Blackhole', 'nzb_dir', '') TORRENT_DIR = check_setting_str(CFG, 'Blackhole', 'torrent_dir', '')