mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
rockbox: add config sort options
This commit is contained in:
@@ -16,6 +16,30 @@
|
|||||||
search: [q]
|
search: [q]
|
||||||
music-search: [q, album, artist, label, year]
|
music-search: [q, album, artist, label, year]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "data"
|
||||||
|
options:
|
||||||
|
"data": "created"
|
||||||
|
"seeds": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
"filename": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "DESC"
|
||||||
|
options:
|
||||||
|
"DESC": "desc"
|
||||||
|
"ASC": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: form
|
method: form
|
||||||
@@ -34,11 +58,18 @@
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
method: get
|
|
||||||
inputs:
|
inputs:
|
||||||
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
|
# 0 all 1 active 2 dead 3 seedwanted
|
||||||
|
active: 0
|
||||||
|
# 0 title 1 title+descr 2 title+subgen
|
||||||
|
options: 0
|
||||||
|
order: "{{ .Config.sort }}"
|
||||||
|
by: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.lista[width="100%"] tbody tr:has(a[href^="download.php?id="])
|
selector: table.lista[width="100%"] tbody tr:has(a[href^="download.php?id="])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td a[href^="details.php?id="]
|
selector: td a[href^="details.php?id="]
|
||||||
@@ -74,8 +105,8 @@
|
|||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(11)
|
selector: td:nth-child(11)
|
||||||
category:
|
category:
|
||||||
text: "Music"
|
text: Music
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
Reference in New Issue
Block a user