torrent-rpc.js get files

This commit is contained in:
wipedlifepotato
2026-08-24 23:29:03 +03:00
parent 1c627a9eb1
commit eb32c69649
+1 -1
View File
@@ -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' }
});