diff --git a/bazarr/main.py b/bazarr/main.py index e1cbfbd1a..72545446c 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -325,31 +325,31 @@ def save_wizard(): settings_subliminal_providers = request.forms.getall('settings_subliminal_providers') settings.general.enabled_providers = u'' if not settings_subliminal_providers else ','.join( settings_subliminal_providers) - + settings_addic7ed_random_agents = request.forms.get('settings_addic7ed_random_agents') if settings_addic7ed_random_agents is None: settings_addic7ed_random_agents = 'False' else: settings_addic7ed_random_agents = 'True' - + settings_opensubtitles_vip = request.forms.get('settings_opensubtitles_vip') if settings_opensubtitles_vip is None: settings_opensubtitles_vip = 'False' else: settings_opensubtitles_vip = 'True' - + settings_opensubtitles_ssl = request.forms.get('settings_opensubtitles_ssl') if settings_opensubtitles_ssl is None: settings_opensubtitles_ssl = 'False' else: settings_opensubtitles_ssl = 'True' - + settings_opensubtitles_skip_wrong_fps = request.forms.get('settings_opensubtitles_skip_wrong_fps') if settings_opensubtitles_skip_wrong_fps is None: settings_opensubtitles_skip_wrong_fps = 'False' else: settings_opensubtitles_skip_wrong_fps = 'True' - + settings.addic7ed.username = request.forms.get('settings_addic7ed_username') settings.addic7ed.password = request.forms.get('settings_addic7ed_password') settings.addic7ed.random_agents = text_type(settings_addic7ed_random_agents) @@ -1300,25 +1300,25 @@ def save_settings(): settings_subliminal_providers = request.forms.getall('settings_subliminal_providers') settings.general.enabled_providers = u'' if not settings_subliminal_providers else ','.join( settings_subliminal_providers) - + settings_addic7ed_random_agents = request.forms.get('settings_addic7ed_random_agents') if settings_addic7ed_random_agents is None: settings_addic7ed_random_agents = 'False' else: settings_addic7ed_random_agents = 'True' - + settings_opensubtitles_vip = request.forms.get('settings_opensubtitles_vip') if settings_opensubtitles_vip is None: settings_opensubtitles_vip = 'False' else: settings_opensubtitles_vip = 'True' - + settings_opensubtitles_ssl = request.forms.get('settings_opensubtitles_ssl') if settings_opensubtitles_ssl is None: settings_opensubtitles_ssl = 'False' else: settings_opensubtitles_ssl = 'True' - + settings_opensubtitles_skip_wrong_fps = request.forms.get('settings_opensubtitles_skip_wrong_fps') if settings_opensubtitles_skip_wrong_fps is None: settings_opensubtitles_skip_wrong_fps = 'False' @@ -1337,7 +1337,6 @@ def save_settings(): settings.opensubtitles.ssl = text_type(settings_opensubtitles_ssl) settings.opensubtitles.skip_wrong_fps = text_type(settings_opensubtitles_skip_wrong_fps) - settings_subliminal_languages = request.forms.getall('settings_subliminal_languages') c.execute("UPDATE table_settings_languages SET enabled = 0") for item in settings_subliminal_languages: @@ -1407,7 +1406,7 @@ def save_settings(): # reschedule full update task according to settings sonarr_full_update() - + if ref.find('saved=true') > 0: redirect(ref) else: diff --git a/views/settings.tpl b/views/settings.tpl index 689f9af53..df6659ca7 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -1092,6 +1092,13 @@ +
@@ -1158,6 +1165,13 @@ +
@@ -1182,6 +1196,13 @@
+
@@ -1197,6 +1218,13 @@
+
@@ -1231,6 +1259,13 @@
+
@@ -1314,6 +1349,13 @@
+ @@ -1332,36 +1374,6 @@ -
-
- -
-
-
- - -
-
-
-
- -
- -
-
- -
-
-
- - -
-
-
-
- -
-