torrentdownloads: add cat 0 unknown. resolves #8445

This commit is contained in:
Garfield69 2020-05-02 11:07:54 +12:00
parent 5bfbdbc2db
commit 3433d5a9ce
1 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,7 @@
- {id: 1, cat: TV/Anime, desc: "Anime"}
- {id: 2, cat: Books, desc: "Books"}
- {id: 9, cat: Other, desc: "Other"}
- {id: 0, cat: Other, desc: "Other"}
- {id: 6, cat: Other, desc: "Pics"}
modes:
@ -51,9 +52,9 @@
search:
paths:
- path: "{{if .Keywords}}/search/{{else}}/today/{{end}}"
- path: "{{ if .Keywords }}/search/{{else}}/today/{{end}}"
inputs:
$raw: "{{range .Categories}}s_cat={{.}}&{{end}}"
$raw: "{{ range .Categories }}s_cat={{.}}&{{end}}"
search: "{{ .Keywords }}"
rows:
@ -81,7 +82,7 @@
attribute: src
filters:
- name: regexp
args: ([\d,]+)
args: (\d+)
downloadvolumefactor:
text: 0
uploadvolumefactor: