concertos: add freeleech filter #9456

add minimumratio and minimumseedtime
This commit is contained in:
Garfield69 2020-09-11 13:19:10 +12:00
parent 5e1807560c
commit f0bd82fa39
1 changed files with 11 additions and 1 deletions

View File

@ -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
@ -79,6 +83,7 @@ search:
$raw: "{{ range .Categories }}categories[]={{.}}&{{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 }}"
@ -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