refactor: pause torrent after verifying if files disappeared (#6277)

This commit is contained in:
Yat Ho
2023-11-26 06:20:17 +08:00
committed by GitHub
parent b977ac77ca
commit 7af71d9695
10 changed files with 42 additions and 142 deletions

View File

@@ -112,14 +112,13 @@ username and password (respectively), separated by a colon.
## 3 Torrent requests
### 3.1 Torrent action requests
| Method name | libtransmission function
| Method name | libtransmission function
|:--|:--
| `torrent-start` | tr_torrentStart
| `torrent-start-now` | tr_torrentStartNow
| `torrent-stop` | tr_torrentStop
| `torrent-verify` | tr_torrentVerify
| `torrent-verify-force` | tr_torrentVerifyForce
| `torrent-reannounce` | tr_torrentManualUpdate ("ask tracker for more peers")
| `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")
Request arguments: `ids`, which specifies which torrents to use.
All torrents are used if the `ids` argument is omitted.
@@ -1026,4 +1025,3 @@ Transmission 4.1.0 (`rpc-version-semver` 5.4.0, `rpc-version`: 18)
| `torrent-get` | new arg `files.beginPiece`
| `torrent-get` | new arg `files.endPiece`
| `port-test` | new arg `ipProtocol`
| `torrent-verify-force` | new method