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:
parent
564f9cb65c
commit
b20b6f5251
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue