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