1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 19:58:38 +00:00

metaltracker: convert to categorymappings

code tidy
This commit is contained in:
Garfield69 2020-11-03 16:59:37 +13:00
parent 564f9cb65c
commit b20b6f5251

View file

@ -11,10 +11,10 @@ legacylinks:
- http://en.metal-tracker.com/
caps:
categories:
Books: Audio/Audiobook
Video: Audio/Video
Music: Audio/MP3
categorymappings:
- {id: Books, cat: Audio/Audiobook, desc: Books}
- {id: Video, cat: Audio/Video, desc: Videos}
- {id: Music, cat: Audio/MP3, desc: Music}
modes:
search: [q]
@ -65,7 +65,7 @@ search:
- path: torrents/search.html
method: post
inputs:
"SearchTorrentsForm[nameTorrent]": "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{else}}{{ .Keywords }}{{end}}"
"SearchTorrentsForm[nameTorrent]": "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{ else }}{{ .Keywords }}{{ end }}"
"SearchTorrentsForm[sort]": "{{ .Config.sort }}"
"SearchTorrentsForm[sortType]": "{{ .Config.type }}"
go-search: Search