utopia: -> 8.1.3

untested
This commit is contained in:
Garfield69
2024-08-02 07:26:50 +12:00
parent 9ee2361527
commit 2603f1d8a9

View File

@@ -30,6 +30,10 @@ settings:
type: checkbox
label: Search freeleech only
default: false
- name: single_file_release_use_filename
type: checkbox
label: Use filename as title for single file releases
default: true
- 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.
@@ -99,8 +103,15 @@ search:
fields:
category:
selector: category_id
title:
title_optional:
selector: name
title_filename:
selector: "files[0].name"
optional: true
files:
selector: num_file
title:
text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
filters:
- name: append
args: "{{ if .Config.addukrainiantotitle }} UKR{{ else }}{{ end }}"
@@ -124,8 +135,6 @@ search:
genre:
selector: meta.genres
filters:
- name: re_replace
args: ["(?i)^None$", ""]
- name: re_replace
args: ["(?i)(Екшн і Пригоди)", "Екшн_іригоди"]
- name: re_replace
@@ -136,8 +145,6 @@ search:
args: ["(?i)(Політика та війна)", олітикааійна"]
description:
text: "{{ .Result.genre }}"
files:
selector: num_file
seeders:
selector: seeders
leechers:
@@ -176,4 +183,4 @@ search:
minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200
# json UNIT3D 7.0.3
# json UNIT3D 8.1.3