Start database section id update on its own thread

This commit is contained in:
Jonathan Wong 2016-01-16 03:31:00 -08:00
parent 7f1a08dd04
commit 4a65dc1d6e
4 changed files with 68 additions and 68 deletions

View file

@ -282,7 +282,7 @@ def initialize_scheduler():
else:
seconds = 0
if CONFIG.PMS_IP and CONFIG.PMS_TOKEN:
if CONFIG.PMS_IP and CONFIG.PMS_TOKEN and CONFIG.UPDATE_SECTION_IDS != -1:
schedule_job(plextv.get_real_pms_url, 'Refresh Plex Server URLs',
hours=12, minutes=0, seconds=0)
schedule_job(pmsconnect.get_server_friendly_name, 'Refresh Plex Server Name',