From eb32c69649eaa0ee13dcc3981a46fac9e105b406 Mon Sep 17 00:00:00 2001 From: wipedlifepotato <60944239+wipedlifepotato@users.noreply.github.com> Date: Mon, 24 Aug 2026 23:29:03 +0300 Subject: [PATCH] torrent-rpc.js get files --- contrib/webconsole/torrent-rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/webconsole/torrent-rpc.js b/contrib/webconsole/torrent-rpc.js index 23bb109d..c6424089 100644 --- a/contrib/webconsole/torrent-rpc.js +++ b/contrib/webconsole/torrent-rpc.js @@ -56,7 +56,7 @@ class TorrentClient { method: "POST", body: JSON.stringify({ 'method': 'torrent-get', - 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone"] } + 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone", "files", "peers"] } }), headers: { 'Content-Type': 'application/json' } });