mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Add new webUI API. Closes #6457.
Now getting piece information for a specific torrent is possible via: * Returns an array of states (integers) of pieces in order. Defined as: "0=not downloaded", "1=downloading", "2=downloaded". GET /query/getPieceStates/<torrent_hash> * Returns an array of hashes (strings) of pieces in order: GET /query/getPieceHashes/<torrent_hash>
This commit is contained in:
parent
47960b2592
commit
3933790bda
6 changed files with 88 additions and 1 deletions
|
@ -56,6 +56,8 @@ private:
|
|||
void action_query_propertiesFiles();
|
||||
void action_query_getLog();
|
||||
void action_query_getPeerLog();
|
||||
void action_query_getPieceHashes();
|
||||
void action_query_getPieceStates();
|
||||
void action_sync_maindata();
|
||||
void action_sync_torrent_peers();
|
||||
void action_command_shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue