From 0ebc68d9bd3dd7cd832b5ccce98fcbc9531a3e61 Mon Sep 17 00:00:00 2001 From: Servarr Date: Wed, 9 Oct 2024 18:39:45 +0300 Subject: [PATCH] jackett indexers as of 9c7c27462348a817247fe8c02b3cdb93e138967e [2024-10-09T15:39:45Z] --- definitions/v9/nyaasi.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/definitions/v9/nyaasi.yml b/definitions/v9/nyaasi.yml index d4a5c3f6d..e3c3a4fab 100644 --- a/definitions/v9/nyaasi.yml +++ b/definitions/v9/nyaasi.yml @@ -197,7 +197,7 @@ search: text: "{{ or (.Result.title_phase1) (.Result.title_default) }}" filters: - name: re_replace - args: ["^(\\[.+?\\] ?)?(\\[.+?\\] ?)?(.+?)(\\[)", "$1$2$3{{ if .Config.radarr_compatibility }} {{ .Result.title_keyword_year }} $4{{ else }}$4{{ end }}"] + args: ["^(\\[.+?\\] ?)?(\\[.+?\\] ?)?(.+?)(\\[)", "$1$2$3{{ if and (.Config.radarr_compatibility) (.Result.title_keyword_year) }} {{ .Result.title_keyword_year }} $4{{ else }}$4{{ end }}"] title_phase3: text: "{{ .Result.title_phase2 }}" filters: @@ -229,6 +229,9 @@ search: args: ["(?i)\\b(?:S\\s|Seasons?\\s?)(\\d+(?:-\\d+)?)\\b(?!(?:-\\d+)?\\s(?:EP|Episodes?)?\\s?(?:\\d+(?:-\\d+)?)?\\s?S\\d+(?:E\\d+(?:-\\d+)?)?)", "$0 S$1"] - name: re_replace args: ["(?i)\\b(?:EP|Episodes?)\\s?(\\d+(?:-\\d+)?)\\b(?!(?:-\\d+)?\\sS\\d+(?:-\\d+)?(?:E\\d+(?:-\\d+)?)?)", "$0 S01E$1"] + - name: re_replace + args: ["\\s+", " "] + - name: trim title_has_season: text: "{{ .Result.title_phase3 }}" filters: