[Horriblesubs] prepend horriblesubs tag to title for better filtering in sonarr (#1362)

* [horriblesubs] prepend horriblesubs tag to title for better filtering in sonarr

* make [horriblesubs] prepend an option
This commit is contained in:
Nodja 2017-05-14 13:48:07 -04:00 committed by kaso17
parent 8900ece8ab
commit 175509abc8
1 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,10 @@
search: [q]
tv-search: [q, season, ep]
settings: []
settings:
- name: prepend-horriblesubs
type: checkbox
label: Prepend [Horriblesubs] to torrent title
search:
path: "lib/{{if .Query.Keywords }}search.php{{else}}latest.php{{end}}"
@ -39,6 +42,9 @@
text: "1"
title:
selector: table.release-table > tbody > tr > td.dl-label
filters:
- name: prepend
args: "{{if .Config.prepend-horriblesubs}}[Horriblesubs] {{else}}{{end}}"
details:
attribute: class
filters: