mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 01:27:07 +00:00
Full update bug in radarr inplementation
This commit is contained in:
parent
9efdcde095
commit
95d234daad
2 changed files with 4 additions and 1 deletions
|
@ -701,6 +701,7 @@ def save_settings():
|
||||||
settings_sonarr_apikey = request.forms.get('settings_sonarr_apikey')
|
settings_sonarr_apikey = request.forms.get('settings_sonarr_apikey')
|
||||||
settings_sonarr_sync = request.forms.get('settings_sonarr_sync')
|
settings_sonarr_sync = request.forms.get('settings_sonarr_sync')
|
||||||
c.execute("UPDATE table_settings_sonarr SET ip = ?, port = ?, base_url = ?, ssl = ?, apikey = ?, full_update = ?", (settings_sonarr_ip, settings_sonarr_port, settings_sonarr_baseurl, settings_sonarr_ssl, settings_sonarr_apikey, settings_sonarr_sync))
|
c.execute("UPDATE table_settings_sonarr SET ip = ?, port = ?, base_url = ?, ssl = ?, apikey = ?, full_update = ?", (settings_sonarr_ip, settings_sonarr_port, settings_sonarr_baseurl, settings_sonarr_ssl, settings_sonarr_apikey, settings_sonarr_sync))
|
||||||
|
sonarr_full_update()
|
||||||
|
|
||||||
settings_radarr_ip = request.forms.get('settings_radarr_ip')
|
settings_radarr_ip = request.forms.get('settings_radarr_ip')
|
||||||
settings_radarr_port = request.forms.get('settings_radarr_port')
|
settings_radarr_port = request.forms.get('settings_radarr_port')
|
||||||
|
@ -713,7 +714,7 @@ def save_settings():
|
||||||
settings_radarr_apikey = request.forms.get('settings_radarr_apikey')
|
settings_radarr_apikey = request.forms.get('settings_radarr_apikey')
|
||||||
settings_radarr_sync = request.forms.get('settings_radarr_sync')
|
settings_radarr_sync = request.forms.get('settings_radarr_sync')
|
||||||
c.execute("UPDATE table_settings_radarr SET ip = ?, port = ?, base_url = ?, ssl = ?, apikey = ?, full_update = ?", (settings_radarr_ip, settings_radarr_port, settings_radarr_baseurl, settings_radarr_ssl, settings_radarr_apikey, settings_radarr_sync))
|
c.execute("UPDATE table_settings_radarr SET ip = ?, port = ?, base_url = ?, ssl = ?, apikey = ?, full_update = ?", (settings_radarr_ip, settings_radarr_port, settings_radarr_baseurl, settings_radarr_ssl, settings_radarr_apikey, settings_radarr_sync))
|
||||||
|
radarr_full_update()
|
||||||
|
|
||||||
settings_subliminal_providers = request.forms.getall('settings_subliminal_providers')
|
settings_subliminal_providers = request.forms.getall('settings_subliminal_providers')
|
||||||
c.execute("UPDATE table_settings_providers SET enabled = 0")
|
c.execute("UPDATE table_settings_providers SET enabled = 0")
|
||||||
|
|
|
@ -59,4 +59,6 @@ if integration[13] == "True":
|
||||||
if integration[12] == "True" or integration[13] == "True":
|
if integration[12] == "True" or integration[13] == "True":
|
||||||
scheduler.add_job(wanted_search_missing_subtitles, 'interval', hours=3, max_instances=1, coalesce=True, misfire_grace_time=15, id='wanted_search_missing_subtitles', name='Search for wanted subtitles')
|
scheduler.add_job(wanted_search_missing_subtitles, 'interval', hours=3, max_instances=1, coalesce=True, misfire_grace_time=15, id='wanted_search_missing_subtitles', name='Search for wanted subtitles')
|
||||||
|
|
||||||
|
sonarr_full_update()
|
||||||
|
radarr_full_update()
|
||||||
scheduler.start()
|
scheduler.start()
|
Loading…
Reference in a new issue