mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-03 00:47:21 +02:00
torrentslocal: add config sort options
This commit is contained in:
@@ -727,6 +727,8 @@
|
|||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: username
|
||||||
@@ -738,7 +740,23 @@
|
|||||||
- name: info
|
- name: info
|
||||||
type: info
|
type: info
|
||||||
label: Layout
|
label: Layout
|
||||||
default: "<ul>Only the Classic forum style is supported.<ul>On the TorrentsLocal web site navigate to the <b>Личные настройки (Preferences)</b> section and set the <b>Стиль форума (Forum Style)</b> option to <b>Классическая тема (Classic Theme)</b></ul>"
|
default: "<b>Only the Classic forum style is supported.</b><br/><li>On the TorrentsLocal web site navigate to the <b>Личные настройки (Preferences)</b> section and set the <b>Стиль форума (Forum Style)</b> option to <b>Классическая тема (Classic Theme)</b></li>"
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "1"
|
||||||
|
options:
|
||||||
|
"1": "created"
|
||||||
|
"10": "seeders"
|
||||||
|
"7": "size"
|
||||||
|
"2": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "2"
|
||||||
|
options:
|
||||||
|
"2": "desc"
|
||||||
|
"1": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
@@ -774,10 +792,8 @@
|
|||||||
prev_df: 1
|
prev_df: 1
|
||||||
prev_ds: 0
|
prev_ds: 0
|
||||||
prev_tor_type: 0
|
prev_tor_type: 0
|
||||||
# sort by 1=registered 2=topicTitle 4=completed 10=seed 11=leech 12=up 13=down 5=replies 6=views 7=size 8=lastPost 9=seedLastSeen
|
o: "{{ .Config.sort }}"
|
||||||
o: 1
|
s: "{{ .Config.type }}"
|
||||||
# 1=asc 2=desc
|
|
||||||
s: 2
|
|
||||||
# show category
|
# show category
|
||||||
dc: 0
|
dc: 0
|
||||||
# show forum
|
# show forum
|
||||||
@@ -798,6 +814,7 @@
|
|||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr[id^="tor_"]
|
selector: tr[id^="tor_"]
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td a.genmed b
|
selector: td a.genmed b
|
||||||
@@ -812,7 +829,7 @@
|
|||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: "f"
|
args: f
|
||||||
size:
|
size:
|
||||||
selector: td a.tr-dl
|
selector: td a.tr-dl
|
||||||
filters:
|
filters:
|
||||||
@@ -867,9 +884,9 @@
|
|||||||
args: "2-Jan-06"
|
args: "2-Jan-06"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src="styles/images/tor_gold.gif"]: "0"
|
img[src="styles/images/tor_gold.gif"]: 0
|
||||||
img[src="styles/images/tor_silver.gif"]: "0.5"
|
img[src="styles/images/tor_silver.gif"]: 0.5
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"*": "1"
|
"*": 1
|
||||||
|
Reference in New Issue
Block a user