mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-07 15:27:38 +08:00
Remove Api key 32 char requirement for Radarr and Sonarr
This commit is contained in:
parent
b86c05202b
commit
63fa0e5c76
2 changed files with 52 additions and 52 deletions
|
@ -73,19 +73,19 @@ $('#settings_form')
|
|||
}
|
||||
]
|
||||
},
|
||||
settings_sonarr_apikey : {
|
||||
depends: 'settings_general_use_sonarr',
|
||||
rules : [
|
||||
{
|
||||
type : 'exactLength[32]',
|
||||
prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
},
|
||||
{
|
||||
type : 'empty',
|
||||
prompt : '"Sonarr / Connection settings / API key" must have a value'
|
||||
}
|
||||
]
|
||||
},
|
||||
// settings_sonarr_apikey : {
|
||||
// depends: 'settings_general_use_sonarr',
|
||||
// rules : [
|
||||
// {
|
||||
// type : 'exactLength[32]',
|
||||
// prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
// },
|
||||
// {
|
||||
// type : 'empty',
|
||||
// prompt : '"Sonarr / Connection settings / API key" must have a value'
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
radarr_validated_checkbox : {
|
||||
depends: 'settings_general_use_radarr',
|
||||
rules : [
|
||||
|
@ -117,19 +117,19 @@ $('#settings_form')
|
|||
}
|
||||
]
|
||||
},
|
||||
settings_radarr_apikey : {
|
||||
depends: 'settings_general_use_radarr',
|
||||
rules : [
|
||||
{
|
||||
type : 'exactLength[32]',
|
||||
prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
},
|
||||
{
|
||||
type : 'empty',
|
||||
prompt : '"Radarr / Connection settings / API key" must have a value'
|
||||
}
|
||||
]
|
||||
},
|
||||
// settings_radarr_apikey : {
|
||||
// depends: 'settings_general_use_radarr',
|
||||
// rules : [
|
||||
// {
|
||||
// type : 'exactLength[32]',
|
||||
// prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
// },
|
||||
// {
|
||||
// type : 'empty',
|
||||
// prompt : '"Radarr / Connection settings / API key" must have a value'
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
settings_subliminal_providers : {
|
||||
rules : [
|
||||
{
|
||||
|
|
|
@ -56,19 +56,19 @@ $('#wizard_form')
|
|||
}
|
||||
]
|
||||
},
|
||||
settings_sonarr_apikey : {
|
||||
depends: 'settings_general_use_sonarr',
|
||||
rules : [
|
||||
{
|
||||
type : 'exactLength[32]',
|
||||
prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
},
|
||||
{
|
||||
type : 'empty',
|
||||
prompt : '"Sonarr / Connection settings / API key" must have a value'
|
||||
}
|
||||
]
|
||||
},
|
||||
// settings_sonarr_apikey : {
|
||||
// depends: 'settings_general_use_sonarr',
|
||||
// rules : [
|
||||
// {
|
||||
// type : 'exactLength[32]',
|
||||
// prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
// },
|
||||
// {
|
||||
// type : 'empty',
|
||||
// prompt : '"Sonarr / Connection settings / API key" must have a value'
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
radarr_validated_checkbox : {
|
||||
depends: 'settings_general_use_radarr',
|
||||
rules : [
|
||||
|
@ -100,19 +100,19 @@ $('#wizard_form')
|
|||
}
|
||||
]
|
||||
},
|
||||
settings_radarr_apikey : {
|
||||
depends: 'settings_general_use_radarr',
|
||||
rules : [
|
||||
{
|
||||
type : 'exactLength[32]',
|
||||
prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
},
|
||||
{
|
||||
type : 'empty',
|
||||
prompt : '"Radarr / Connection settings / API key" must have a value'
|
||||
}
|
||||
]
|
||||
},
|
||||
// settings_radarr_apikey : {
|
||||
// depends: 'settings_general_use_radarr',
|
||||
// rules : [
|
||||
// {
|
||||
// type : 'exactLength[32]',
|
||||
// prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
|
||||
// },
|
||||
// {
|
||||
// type : 'empty',
|
||||
// prompt : '"Radarr / Connection settings / API key" must have a value'
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
settings_subliminal_providers : {
|
||||
rules : [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue