mvgroup*: option to strip BBC from front of titles. Resolves #2367

This commit is contained in:
Garfield69 2018-01-06 19:11:30 +13:00
parent efc4600918
commit 29b83757e3
2 changed files with 20 additions and 0 deletions

View File

@ -88,6 +88,10 @@
type: checkbox
label: Only released and seeded torrents
default: false
- name: dropbbc
type: checkbox
label: Drop "BBC " from the front of result titles
default: false
- name: info
type: info
label: Category for Sonarr and Radarr
@ -131,9 +135,15 @@
title:
optional: true
selector: td.singleindent a[href^="/index.php?showtopic="]
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
title:
optional: true
selector: td.doubleindent
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
details:
optional: true
selector: td.singleindent a[href^="/index.php?showtopic="]

View File

@ -88,6 +88,10 @@
type: checkbox
label: Only released and seeded torrents
default: false
- name: dropbbc
type: checkbox
label: Drop "BBC " from the front of result titles
default: false
- name: info
type: info
label: Category for Sonarr and Radarr
@ -131,9 +135,15 @@
title:
optional: true
selector: td.singleindent a[href^="/index.php?showtopic="]
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
title:
optional: true
selector: td.doubleindent
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
details:
optional: true
selector: td.singleindent a[href^="/index.php?showtopic="]