Highlight the weekends on daily graphs.

Random bug fixes and cleanups.
This commit is contained in:
Tim 2015-08-11 21:56:31 +02:00
parent c7af1c127c
commit de66480d5f
7 changed files with 30 additions and 7 deletions

View file

@ -261,7 +261,7 @@ def initialize_scheduler():
minutes = 0
schedule_job(versioncheck.checkGithub, 'Check GitHub for updates', hours=0, minutes=minutes)
# Start checking for new sessions every minute
# Start checking for new sessions at set interval
if CONFIG.MONITORING_INTERVAL:
# Our interval should never be less than 30 seconds
if CONFIG.MONITORING_INTERVAL > 30:
@ -271,7 +271,7 @@ def initialize_scheduler():
else:
seconds = 0
if CONFIG.PMS_IP:
if CONFIG.PMS_IP and CONFIG.PMS_TOKEN:
schedule_job(plextv.get_real_pms_url, 'Refresh Plex Server URLs', hours=12, minutes=0, seconds=0)
schedule_job(monitor.check_active_sessions, 'Check for active sessions', hours=0, minutes=0, seconds=seconds)