diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/contrib/webconsole/torrent-rpc.js /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/contrib/webconsole/torrent-rpc.js --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/contrib/webconsole/torrent-rpc.js 2026-08-30 11:40:59.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/contrib/webconsole/torrent-rpc.js 2026-08-30 11:37:36.000000000 +0000 @@ -57,5 +57,5 @@ body: JSON.stringify({ 'method': 'torrent-get', - 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone", "files", "peers", "trackers", "trackerStats"] } + 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone", "files", "peers", "trackers"] } }), headers: { 'Content-Type': 'application/json' } @@ -63,29 +63,4 @@ return res.json(); } - async stopTorrent(ids = []) { - const res = await fetch(this.getEndpoint(), { - method: "POST", - body: JSON.stringify({ - 'method': 'torrent-stop', - 'arguments': ids.length ? { ids } : {}, - 'tag': 666 - }), - headers: { 'Content-Type': 'application/json' } - }); - return res.json(); -} - -async startTorrent(ids = []) { - const res = await fetch(this.getEndpoint(), { - method: "POST", - body: JSON.stringify({ - 'method': 'torrent-start', - 'arguments': ids.length ? { ids } : {}, - 'tag': 666 - }), - headers: { 'Content-Type': 'application/json' } - }); - return res.json(); -} } diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/contrib/webconsole/torrent_client.html /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/contrib/webconsole/torrent_client.html --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/contrib/webconsole/torrent_client.html 2026-08-30 11:40:59.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/contrib/webconsole/torrent_client.html 2026-08-30 11:37:36.000000000 +0000 @@ -5,11 +5,5 @@ - - @@ -25,6 +19,4 @@

Trackers (0):

-

trackerStats:

- @@ -32,35 +24,5 @@