Created a mock Sonarr container for the beta release
This commit is contained in:
@@ -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
|
||||
@@ -104,7 +107,7 @@ login:
|
||||
selector: a[href^="logout.php?auth="]
|
||||
|
||||
search:
|
||||
# https://hd-only.org/torrents.php?filelist=blood+2009&freetorrent=1&order_by=time&order_way=desc&action=advanced&searchsubmit=1
|
||||
# https://hd-only.org/ajax.php?filelist=blood+2009&action=browse&group_results=0&order_by=time&order_way=desc&freetorrent=1
|
||||
paths:
|
||||
- path: ajax.php
|
||||
response:
|
||||
@@ -224,6 +227,9 @@ search:
|
||||
_vfq:
|
||||
selector: vfq
|
||||
optional: true
|
||||
_vf2:
|
||||
selector: vf2
|
||||
optional: true
|
||||
_vfi:
|
||||
selector: vfi
|
||||
optional: true
|
||||
@@ -248,9 +254,19 @@ 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._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"]
|
||||
args: "{{ if or (eq .Result._vf2 \"True\") (or (eq .Result._vff \"True\") (or (eq .Result._vfq \"True\") (or (eq .Result._vfi \"True\") (eq .Result._vf \"True\")))) }}.MULTI{{ else }}{{ end }}"
|
||||
- name: re_replace
|
||||
args: ["(\\.MULTI)\\1", ".MULTI"]
|
||||
- name: append
|
||||
args: "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vf2 \"True\") }}.VF2{{ else }}{{ end }}"
|
||||
- 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
|
||||
@@ -262,16 +278,16 @@ search:
|
||||
args: .
|
||||
- name: append
|
||||
args: "{{ if .Result._release_group }}-{{ .Result._release_group }}{{ else }}{{ end }}"
|
||||
_filename:
|
||||
title_filename:
|
||||
selector: "fileName"
|
||||
optional: true
|
||||
filters:
|
||||
- name: replace
|
||||
args: [".mkv", ""]
|
||||
- name: re_replace
|
||||
args: ["\\s÷$", ""]
|
||||
- name: append
|
||||
args: " {{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._hdr \"True\") }}[HDR]{{ else }}{{ end }}{{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._hdr10plus \"True\") }}[HDR10+]{{ else }}{{ end }}{{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._dovi \"True\") }}[DoVi]{{ else }}{{ end }}"
|
||||
title_phase1:
|
||||
text: "{{ if and (eq .Result.files \"1\") (.Result._filename) }}{{ .Result._filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
|
||||
text: "{{ if and (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
|
||||
title_vostfr:
|
||||
text: "{{ .Result.title_phase1 }}"
|
||||
filters:
|
||||
@@ -287,7 +303,10 @@ search:
|
||||
title:
|
||||
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
|
||||
description:
|
||||
text: "{{ .Result._filename }}"
|
||||
text: "{{ .Result.title_filename }}"
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["\\s÷$", ""]
|
||||
_free:
|
||||
selector: isFreeleech
|
||||
downloadvolumefactor:
|
||||
|
||||
Reference in New Issue
Block a user