Update plexpy/__init__.py

Co-Authored-By: abiacco <abiacco@handll.com>
This commit is contained in:
JonnyWong16 2019-04-15 13:07:34 -06:00 committed by GitHub
parent 9a6106f10e
commit beabd7bb0f

View file

@ -448,7 +448,7 @@ def initialize_scheduler():
schedule_job(activity_pinger.check_server_access, 'Check for Plex remote access',
hours=0, minutes=0, seconds=60 * bool(CONFIG.MONITOR_REMOTE_ACCESS))
schedule_job(activity_pinger.check_server_updates, 'Check for Plex updates',
hours=pms_update_notify_hours * bool(CONFIG.MONITOR_PMS_UPDATES), minutes=0, seconds=0)
hours=pms_update_check_hours * bool(CONFIG.MONITOR_PMS_UPDATES), minutes=0, seconds=0)
# Refresh the users list and libraries list
user_hours = CONFIG.REFRESH_USERS_INTERVAL if 1 <= CONFIG.REFRESH_USERS_INTERVAL <= 24 else 12