diff --git a/bazarr/app/config.py b/bazarr/app/config.py index 2e65d5913..ab6c99122 100644 --- a/bazarr/app/config.py +++ b/bazarr/app/config.py @@ -225,7 +225,7 @@ validators = [ # proxy section Validator('proxy.type', must_exist=True, default=None, is_type_of=(NoneType, str), - is_in=[None, 'socks5', 'http']), + is_in=[None, 'socks5', 'socks5h', 'http']), Validator('proxy.url', must_exist=True, default='', is_type_of=str), Validator('proxy.port', must_exist=True, default='', is_type_of=(str, int)), Validator('proxy.username', must_exist=True, default='', is_type_of=str, cast=str), diff --git a/frontend/src/pages/Settings/General/options.ts b/frontend/src/pages/Settings/General/options.ts index 77b1a63bc..098630329 100644 --- a/frontend/src/pages/Settings/General/options.ts +++ b/frontend/src/pages/Settings/General/options.ts @@ -13,9 +13,13 @@ export const securityOptions: SelectorOption[] = [ export const proxyOptions: SelectorOption[] = [ { - label: "Socks5", + label: "Socks5 (local DNS)", value: "socks5", }, + { + label: "Socks5h (remote DNS)", + value: "socks5h", + }, { label: "HTTP(S)", value: "http",