1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 13:52:03 +00:00

hdonly: add options to include dubs info to title (#15633)

Co-authored-by: garfield69 <garfield69@outlook.com>
This commit is contained in:
Bogdan 2024-10-09 13:00:18 +03:00 committed by GitHub
parent f00cf1c02b
commit a89820af21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,9 @@ settings:
type: checkbox
label: Include DV/HDR10 in filename when a release has multiple HDR formats.
default: false
- name: add_version_francophone_to_title
type: checkbox
label: Append Version Francophone flags to titles if available (VFF, VFQ, VFI, VF)
- name: multilang
type: checkbox
label: Replace MULTi by another language in release name
@ -251,6 +254,14 @@ search:
args: "{{ 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: replace
args: [".MULTI.MULTI", ".MULTI"]
- name: append
args: "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vff \"True\") }}.VFF{{ else }}{{ end }}"
- name: append
args: "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vfq \"True\") }}.VFQ{{ else }}{{ end }}"
- name: append
args: "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vfi \"True\") }}.VFI{{ else }}{{ end }}"
- name: append
args: "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vf \"True\") }}.VF{{ else }}{{ end }}"
- name: append
args: "{{ if eq .Result._vof \"True\" }}.FRENCH{{ else }}{{ end }}"
- name: re_replace