mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 22:23:20 +00:00
nyaasi: add setting to strip season 1 keywords
resolves https://github.com/Prowlarr/Indexers/issues/420
This commit is contained in:
parent
8aba7aedc5
commit
02f3175656
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,10 @@ settings:
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Improve Sonarr compatibility by trying to add Season information into Release Titles
|
label: Improve Sonarr compatibility by trying to add Season information into Release Titles
|
||||||
default: false
|
default: false
|
||||||
|
- name: strip_s01
|
||||||
|
type: checkbox
|
||||||
|
label: Remove first season keywords (S1/S01/Season 1), as some results do not include this for first/single season releases
|
||||||
|
default: false
|
||||||
- name: radarr_compatibility
|
- name: radarr_compatibility
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Improve Radarr compatibility by removing year information from keywords and adding it to Release Titles
|
label: Improve Radarr compatibility by removing year information from keywords and adding it to Release Titles
|
||||||
|
@ -161,6 +165,8 @@ search:
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: [" *\\b((?:19|20)\\d{2})\\b", "{{ if .Config.radarr_compatibility }}{{ else }} $1{{ end }}"]
|
args: [" *\\b((?:19|20)\\d{2})\\b", "{{ if .Config.radarr_compatibility }}{{ else }} $1{{ end }}"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i) *\\b(S(?:0|eason *)?1)\\b", "{{ if .Config.strip_s01 }}{{ else }} $1{{ end }}"]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr.default,tr.danger,tr.success
|
selector: tr.default,tr.danger,tr.success
|
||||||
|
|
Loading…
Add table
Reference in a new issue