Ignore:
Timestamp:
Aug 1, 2011, 10:24:24 PM (10 years ago)
Author:
jordan
Message:

(trunk) #671 "torrent queuing" -- Preliminary implementation. Covers libtransmission; GTK+ and Qt clients, and rudimentary web client support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/extras/rpc-spec.txt

    r12524 r12607  
    6666   ---------------------+-------------------------------------------------
    6767   "torrent-start"      | tr_torrentStart
     68   "torrent-start-now"  | tr_torrentStartNow
    6869   "torrent-stop"       | tr_torrentStop
    6970   "torrent-verify"     | tr_torrentVerify
     
    99100   "priority-low"        | array      indices of low-priority file(s)
    100101   "priority-normal"     | array      indices of normal-priority file(s)
     102   "queuePosition"       | number     position of this torrent in its queue [0...n)
    101103   "seedIdleLimit"       | number     torrent-level number of minutes of seeding inactivity
    102104   "seedIdleMode"        | number     which seeding inactivity to use.  See tr_inactvelimit
     
    180182   pieceSize                   | number                      | tr_info
    181183   priorities                  | array (see below)           | n/a
     184   queuePosition               | number                      | tr_stat
    182185   rateDownload (B/s)          | number                      | tr_stat
    183186   rateUpload (B/s)            | number                      | tr_stat
     
    424427   "download-dir"                   | string     | default path to download torrents
    425428   "download-dir-free-space"        | number     | number of free bytes available in download-dir, or -1 if it can't be calculated
     429   "download-queue-size"            | number     | max number of torrents to download at once (see download-queue-enabled)
     430   "download-queue-enabled"         | boolean    | if true, limit how many torrents can be downloaded at once
    426431   "dht-enabled"                    | boolean    | true means allow dht in public torrents
    427432   "encryption"                     | string     | "required", "preferred", "tolerated"
     
    437442   "peer-port-random-on-start"      | boolean    | true means pick a random peer port on launch
    438443   "port-forwarding-enabled"        | boolean    | true means enabled
     444   "queue-stalled-minutes"          | number     | torrents that are idle for N minuets aren't counted toward seed-queue-size or download-queue-size
    439445   "rename-partial-files"           | boolean    | true means append ".part" to incomplete files
    440446   "rpc-version"                    | number     | the current RPC API version
     
    444450   "seedRatioLimit"                 | double     | the default seed ratio for torrents to use
    445451   "seedRatioLimited"               | boolean    | true if seedRatioLimit is honored by default
     452   "seed-queue-size"                | number     | max number of torrents to uploaded at once (see seed-queue-enabled)
     453   "seed-queue-enabled"             | boolean    | if true, limit how many torrents can be uploaded at once
    446454   "speed-limit-down"               | number     | max global download speed (KBps)
    447455   "speed-limit-down-enabled"       | boolean    | true means enabled
     
    537545   This method tells the transmission session to shut down.
    538546
    539    Method-name: "session-close"
     547   Method name: "session-close"
    540548   Request arguments: none
     549   Response arguments: none
     550
     5514.6.  Queue Movement Requests
     552
     553   Method name          | libtransmission function
     554   ---------------------+-------------------------------------------------
     555   "queue-move-top"     | tr_torrentQueueMoveTop()
     556   "queue-move-up"      | tr_torrentQueueMoveUp()
     557   "queue-move-down"    | tr_torrentQueueMoveDown()
     558   "queue-move-bottom"  | tr_torrentQueueMoveBottom()
     559
     560   Request arguments:
     561
     562   string      | value type & description
     563   ------------+----------------------------------------------------------
     564   "ids"       | array   torrent list, as described in 3.1.
     565
    541566   Response arguments: none
    542567
     
    663688         |         | yes       | torrent-add    | new arg "cookies"
    664689         |         |        NO | torrent-get    | removed arg "peersKnown"
     690   ------+---------+-----------+----------------+-------------------------------
     691   14    | 2.40    |        NO | torrent-get    | values of "status" field changed
     692         |         | yes       | torrent-get    | new arg "queuePosition"
     693         |         | yes       | torrent-set    | new arg "queuePosition"
     694         |         | yes       | session-set    | new arg "download-queue-size"
     695         |         | yes       | session-set    | new arg "download-queue-enabled"
     696         |         | yes       | session-set    | new arg "seed-queue-size"
     697         |         | yes       | session-set    | new arg "seed-queue-enabled"
     698         |         | yes       | session-set    | new arg "queue-stalled-minutes"
     699         |         | yes       |                | new method "queue-move-top"
     700         |         | yes       |                | new method "queue-move-up"
     701         |         | yes       |                | new method "queue-move-down"
     702         |         | yes       |                | new method "queue-move-bottom"
     703         |         | yes       |                | new method "torrent-start-now"
Note: See TracChangeset for help on using the changeset viewer.