mirror of
https://github.com/transmission/transmission.git
synced 2026-04-19 00:12:26 +01:00
(trunk) #671 "torrent queuing" -- Preliminary implementation. Covers libtransmission; GTK+ and Qt clients, and rudimentary web client support.
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
Method name | libtransmission function
|
||||
---------------------+-------------------------------------------------
|
||||
"torrent-start" | tr_torrentStart
|
||||
"torrent-start-now" | tr_torrentStartNow
|
||||
"torrent-stop" | tr_torrentStop
|
||||
"torrent-verify" | tr_torrentVerify
|
||||
"torrent-reannounce" | tr_torrentManualUpdate ("ask tracker for more peers")
|
||||
@@ -98,6 +99,7 @@
|
||||
"priority-high" | array indices of high-priority file(s)
|
||||
"priority-low" | array indices of low-priority file(s)
|
||||
"priority-normal" | array indices of normal-priority file(s)
|
||||
"queuePosition" | number position of this torrent in its queue [0...n)
|
||||
"seedIdleLimit" | number torrent-level number of minutes of seeding inactivity
|
||||
"seedIdleMode" | number which seeding inactivity to use. See tr_inactvelimit
|
||||
"seedRatioLimit" | double torrent-level seeding ratio
|
||||
@@ -179,6 +181,7 @@
|
||||
pieceCount | number | tr_info
|
||||
pieceSize | number | tr_info
|
||||
priorities | array (see below) | n/a
|
||||
queuePosition | number | tr_stat
|
||||
rateDownload (B/s) | number | tr_stat
|
||||
rateUpload (B/s) | number | tr_stat
|
||||
recheckProgress | double | tr_stat
|
||||
@@ -423,6 +426,8 @@
|
||||
"config-dir" | string | location of transmission's configuration directory
|
||||
"download-dir" | string | default path to download torrents
|
||||
"download-dir-free-space" | number | number of free bytes available in download-dir, or -1 if it can't be calculated
|
||||
"download-queue-size" | number | max number of torrents to download at once (see download-queue-enabled)
|
||||
"download-queue-enabled" | boolean | if true, limit how many torrents can be downloaded at once
|
||||
"dht-enabled" | boolean | true means allow dht in public torrents
|
||||
"encryption" | string | "required", "preferred", "tolerated"
|
||||
"idle-seeding-limit" | number | torrents we're seeding will be stopped if they're idle for this long
|
||||
@@ -436,6 +441,7 @@
|
||||
"peer-port" | number | port number
|
||||
"peer-port-random-on-start" | boolean | true means pick a random peer port on launch
|
||||
"port-forwarding-enabled" | boolean | true means enabled
|
||||
"queue-stalled-minutes" | number | torrents that are idle for N minuets aren't counted toward seed-queue-size or download-queue-size
|
||||
"rename-partial-files" | boolean | true means append ".part" to incomplete files
|
||||
"rpc-version" | number | the current RPC API version
|
||||
"rpc-version-minimum" | number | the minimum RPC API version supported
|
||||
@@ -443,6 +449,8 @@
|
||||
"script-torrent-done-enabled" | boolean | whether or not to call the "done" script
|
||||
"seedRatioLimit" | double | the default seed ratio for torrents to use
|
||||
"seedRatioLimited" | boolean | true if seedRatioLimit is honored by default
|
||||
"seed-queue-size" | number | max number of torrents to uploaded at once (see seed-queue-enabled)
|
||||
"seed-queue-enabled" | boolean | if true, limit how many torrents can be uploaded at once
|
||||
"speed-limit-down" | number | max global download speed (KBps)
|
||||
"speed-limit-down-enabled" | boolean | true means enabled
|
||||
"speed-limit-up" | number | max global upload speed (KBps)
|
||||
@@ -536,10 +544,27 @@
|
||||
|
||||
This method tells the transmission session to shut down.
|
||||
|
||||
Method-name: "session-close"
|
||||
Method name: "session-close"
|
||||
Request arguments: none
|
||||
Response arguments: none
|
||||
|
||||
4.6. Queue Movement Requests
|
||||
|
||||
Method name | libtransmission function
|
||||
---------------------+-------------------------------------------------
|
||||
"queue-move-top" | tr_torrentQueueMoveTop()
|
||||
"queue-move-up" | tr_torrentQueueMoveUp()
|
||||
"queue-move-down" | tr_torrentQueueMoveDown()
|
||||
"queue-move-bottom" | tr_torrentQueueMoveBottom()
|
||||
|
||||
Request arguments:
|
||||
|
||||
string | value type & description
|
||||
------------+----------------------------------------------------------
|
||||
"ids" | array torrent list, as described in 3.1.
|
||||
|
||||
Response arguments: none
|
||||
|
||||
5.0. Protocol Versions
|
||||
|
||||
The following changes have been made to the RPC interface:
|
||||
@@ -662,3 +687,17 @@
|
||||
13 | 2.30 | yes | session-get | new arg "isUTP" to the "peers" list
|
||||
| | yes | torrent-add | new arg "cookies"
|
||||
| | NO | torrent-get | removed arg "peersKnown"
|
||||
------+---------+-----------+----------------+-------------------------------
|
||||
14 | 2.40 | NO | torrent-get | values of "status" field changed
|
||||
| | yes | torrent-get | new arg "queuePosition"
|
||||
| | yes | torrent-set | new arg "queuePosition"
|
||||
| | yes | session-set | new arg "download-queue-size"
|
||||
| | yes | session-set | new arg "download-queue-enabled"
|
||||
| | yes | session-set | new arg "seed-queue-size"
|
||||
| | yes | session-set | new arg "seed-queue-enabled"
|
||||
| | yes | session-set | new arg "queue-stalled-minutes"
|
||||
| | yes | | new method "queue-move-top"
|
||||
| | yes | | new method "queue-move-up"
|
||||
| | yes | | new method "queue-move-down"
|
||||
| | yes | | new method "queue-move-bottom"
|
||||
| | yes | | new method "torrent-start-now"
|
||||
|
||||
Reference in New Issue
Block a user