utopia: add add ukrainian to title option

Co-authored-by: Denys Dovhan <denysdovhan@gmail.com>
This commit is contained in:
Bogdan
2023-07-14 23:59:36 +03:00
parent 0b2d48bf8a
commit 454ed0e207

View File

@@ -30,6 +30,10 @@ settings:
type: checkbox
label: Search freeleech only
default: false
- name: addukrainiantotitle
type: checkbox
label: Add UKR to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
default: false
- name: sort
type: select
label: Sort requested from site
@@ -96,6 +100,8 @@ search:
filters:
- name: re_replace
args: ["\\.", " "]
- name: append
args: "{{ if .Config.addukrainiantotitle }} UKR{{ else }}{{ end }}"
details:
selector: details_link
download: