Continuing development.

pull/380/head
Louis Vézina 6 years ago
parent 07b44cf280
commit 86da34c292

@ -38,6 +38,7 @@ defaults = {
'chmod': '0640', 'chmod': '0640',
'subfolder': 'current', 'subfolder': 'current',
'subfolder_custom': '', 'subfolder_custom': '',
'upgrade_subs': 'True',
'days_to_upgrade_subs': '7' 'days_to_upgrade_subs': '7'
}, },
'auth': { 'auth': {

@ -109,8 +109,9 @@ if settings.general.getboolean('use_sonarr') or settings.general.getboolean('use
scheduler.add_job(wanted_search_missing_subtitles, IntervalTrigger(hours=3), max_instances=1, coalesce=True, scheduler.add_job(wanted_search_missing_subtitles, IntervalTrigger(hours=3), max_instances=1, coalesce=True,
misfire_grace_time=15, id='wanted_search_missing_subtitles', name='Search for wanted subtitles') misfire_grace_time=15, id='wanted_search_missing_subtitles', name='Search for wanted subtitles')
scheduler.add_job(upgrade_subtitles, IntervalTrigger(hours=12), max_instances=1, coalesce=True, if settings.general.getboolean('upgrade_subs'):
misfire_grace_time=15, id='upgrade_subtitles', name='Upgrade subtitles') scheduler.add_job(upgrade_subtitles, IntervalTrigger(hours=12), max_instances=1, coalesce=True,
misfire_grace_time=15, id='upgrade_subtitles', name='Upgrade subtitles')
sonarr_full_update() sonarr_full_update()
radarr_full_update() radarr_full_update()

Loading…
Cancel
Save