mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Add option to perform agressive quality mapping, required for some fr anime releases
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
- 3801e330482d4f9baef71ca4e33ba23ede74f59c # incomplete CA chain
|
||||
|
||||
settings:
|
||||
- name: agressive_quality_mapping
|
||||
type: checkbox
|
||||
label: "Agressive quality mapping (required for some releases, will map FHD as 1080p)"
|
||||
default: false
|
||||
- name: filter-id
|
||||
type: select
|
||||
label: Filter
|
||||
@@ -98,8 +102,15 @@
|
||||
filters:
|
||||
- name: split
|
||||
args: [ "=", -1 ]
|
||||
title:
|
||||
title_quality:
|
||||
selector: td:nth-child(2) a:last-of-type
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["FHD", "1080p"]
|
||||
title_normal:
|
||||
selector: td:nth-child(2) a:last-of-type
|
||||
title:
|
||||
text: "{{if .Config.agressive_quality_mapping }}{{ .Result.title_quality }}{{else}}{{ .Result.title_normal }}{{end}}"
|
||||
details:
|
||||
selector: td:nth-child(2) a:last-of-type
|
||||
attribute: href
|
||||
|
Reference in New Issue
Block a user