Skip to content

Commit

Permalink
concertos: add freeleech filter #9456
Browse files Browse the repository at this point in the history
add minimumratio and minimumseedtime
  • Loading branch information
garfield69 committed Sep 11, 2020
1 parent 5e18075 commit f0bd82f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/Jackett.Common/Definitions/concertos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
Expand Down Expand Up @@ -77,8 +81,9 @@ search:
- path: torrents
inputs:
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
title: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
title: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
imdb: "{{ .Query.IMDBIDShort }}"
freeleech: "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
order_by: "{{ .Config.sort }}"
direction: "{{ .Config.type }}"

Expand Down Expand Up @@ -127,4 +132,9 @@ search:
i.fa-certificate: 2 # Featured
i.fa-gem: 2 # Double Upload
"*": 1
minimumratio:
text: 1.0
minimumseedtime:
# 7 day (as seconds = 7 x 24 x 60 x 60)
text: 604800
# UNIT3D

0 comments on commit f0bd82f

Please sign in to comment.