mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
yggtorrent: optionally disable sonarrv3hack. resolves #4987
This commit is contained in:
@@ -139,6 +139,10 @@
|
|||||||
type: checkbox
|
type: checkbox
|
||||||
label: Enhance sonarr compatibility with anime by renaming episode (xxx to exxx). Works only if episode is at the end of the query. Can disturb movies search. (back to the future 3 -> back to the future e3)
|
label: Enhance sonarr compatibility with anime by renaming episode (xxx to exxx). Works only if episode is at the end of the query. Can disturb movies search. (back to the future 3 -> back to the future e3)
|
||||||
default: false
|
default: false
|
||||||
|
- name: sonarrv3hack
|
||||||
|
type: checkbox
|
||||||
|
label: "Enable Full season search hack: Sonarrv3 send 'Series Name SXX' but it won't match 'Series Name - Saison 01' for example so we remove the 'SXX' ==> 'Series Name'"
|
||||||
|
default: true
|
||||||
|
|
||||||
login:
|
login:
|
||||||
method: form
|
method: form
|
||||||
@@ -159,7 +163,7 @@
|
|||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
# Full season seach hack: Sonarrv3 send 'Series Name SXX' but it won't match 'Series Name - Saison 01' for example so we remove the 'SXX' ==> 'Series Name'
|
# Full season seach hack: Sonarrv3 send 'Series Name SXX' but it won't match 'Series Name - Saison 01' for example so we remove the 'SXX' ==> 'Series Name'
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(.*)[sS](\\d{1,4})$", "$1"]
|
args: ["(.*)[sS](\\d{1,4})$", "{{ if .Config.sonarrv3hack }}$1{{else}}$1S$2{{end}}"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["\"", ""]
|
args: ["\"", ""]
|
||||||
- name: trim
|
- name: trim
|
||||||
|
Reference in New Issue
Block a user