diff --git a/src/Jackett.Common/Definitions/asgaard.yml b/src/Jackett.Common/Definitions/asgaard.yml index 47fc0d346..15124c6be 100644 --- a/src/Jackett.Common/Definitions/asgaard.yml +++ b/src/Jackett.Common/Definitions/asgaard.yml @@ -73,6 +73,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 @@ -113,7 +117,7 @@ search: inputs: $raw: "{{ range .Categories }}cats[]={{.}}&{{end}}" sns: "" - sna: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" + sna: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" spf: "" sr: "" sg: "" @@ -121,12 +125,12 @@ search: sye: "" srs: "" sre: "" - si: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{end}}" + si: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}" ss: "" - # 0 active 1 incldead 2 onlydead - incldead: 0 - # 0 incl non-free 1 incl only-free - only_free: 0 + # 0 active, 1 incldead, 2 onlydead + incldead: 1 + # 0 incl non-free, 1 incl only-free + only_free: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}" sort: "{{ .Config.sort }}" type: "{{ .Config.type }}"