mirror of
https://github.com/Jackett/Jackett
synced 2024-12-22 07:43:13 +00:00
Revert "hdonly: clean up if or .multi"
This reverts commit 4bb05d8f6e
.
Currently logical functions with more than 2 arguments aren't properly parsed and throw an error
This commit is contained in:
parent
1a8386d55f
commit
ab120c2f9f
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ search:
|
|||
- name: append
|
||||
args: ".{{ .Result.year }}.{{ .Result._episode_info }}.{{ .Result._format }}.{{ .Result._encoding }}.{{ .Result._media }}{{ if eq .Result._hdr \"True\" }}.HDR{{ else }}{{ end }}.{{ if eq .Result._hdr10plus \"True\" }}.HDR10+{{ else }}{{ end }}.{{ if eq .Result._dovi \"True\" }}.DoVi{{ else }}{{ end }}"
|
||||
- name: append
|
||||
args: "{{ if or (eq .Result._vf2 \"True\") (eq .Result._vff \"True\") (eq .Result._vfq \"True\") (eq .Result._vfi \"True\") (eq .Result._vf \"True\") }}.MULTI{{ else }}{{ end }}"
|
||||
args: "{{ if eq .Result._vf2 \"True\" }}.MULTI{{ else }}{{ end }}{{ if or (eq .Result._vff \"True\") (eq .Result._vfq \"True\") }}.MULTI{{ else }}{{ end }}{{ if or (eq .Result._vfi \"True\") (eq .Result._vf \"True\") }}.MULTI{{ else }}{{ end }}"
|
||||
- name: re_replace
|
||||
args: ["(\\.MULTI)\\1", ".MULTI"]
|
||||
- name: append
|
||||
|
|
Loading…
Reference in a new issue