mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 15:42:48 +00:00
filmsclub: optional (TVShows) label for tv titles. #7289
This commit is contained in:
parent
c36e3356e2
commit
81e5589707
1 changed files with 5 additions and 1 deletions
|
@ -37,6 +37,10 @@
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Strip the Year from the Title
|
label: Strip the Year from the Title
|
||||||
default: false
|
default: false
|
||||||
|
- name: addtvshows
|
||||||
|
type: checkbox
|
||||||
|
label: Add (TVShows) to TV titles
|
||||||
|
default: false
|
||||||
- name: info_search
|
- name: info_search
|
||||||
type: info
|
type: info
|
||||||
label: "Searching with Season / Episode (S01E01)"
|
label: "Searching with Season / Episode (S01E01)"
|
||||||
|
@ -99,7 +103,7 @@
|
||||||
args: ["(.*)(\\([1|2][0-9]{3}\\))(.*)([CСcс]езон.*)", "$1$2$4$3"]
|
args: ["(.*)(\\([1|2][0-9]{3}\\))(.*)([CСcс]езон.*)", "$1$2$4$3"]
|
||||||
# normalize to SXXEYY format
|
# normalize to SXXEYY format
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(.*)[CСcс]езон +(\\d+).+[CСcс]ери[ия] +(\\d+) +(\\d+) +из +\\d+(.*)", "$1 S$2E$3-$4 rus $5"]
|
args: ["(.*)[CСcс]езон +(\\d+).+[CСcс]ери[ия] +(\\d+) +(\\d+) +из +\\d+(.*)", "$1 S$2E$3-$4 rus {{ if .Config.addtvshows }}(TVShows) {{else}}{{end}}$5"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(.*)[CСcс]езон +(\\d+)(.*)", "$1 S$2 rus $3"]
|
args: ["(.*)[CСcс]езон +(\\d+)(.*)", "$1 S$2 rus $3"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
|
|
Loading…
Reference in a new issue