From a9f9051d1604cf91ea374fc718a7362bca5ff266 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 19 Sep 2020 14:24:23 +1200 Subject: [PATCH] mma-torrents: add freeleech filter #9456 untested --- src/Jackett.Common/Definitions/mma-torrents.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/mma-torrents.yml b/src/Jackett.Common/Definitions/mma-torrents.yml index 01e102fd4..eed606c23 100644 --- a/src/Jackett.Common/Definitions/mma-torrents.yml +++ b/src/Jackett.Common/Definitions/mma-torrents.yml @@ -72,6 +72,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 @@ -111,7 +115,7 @@ search: incldead: 1 lang: 0 # 0 all 1 notfree 2 onlyfree - freeleech: 0 + freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" search: "{{ .Keywords }}" sort: "{{ .Config.sort }}" order: "{{ .Config.type }}"