torrent fix
This commit is contained in:
parent
57ada71d36
commit
e517332a65
26 changed files with 2240 additions and 850 deletions
ui/lib/api
|
@ -1,25 +1,21 @@
|
|||
mutation MarkTorrentDownload($infohash: String!) {
|
||||
downloadTorrent(infohash: $infohash) {
|
||||
task {
|
||||
id
|
||||
}
|
||||
mutation MarkTorrentDownload($infohash: String!, $priority: TorrentPriority! = NORMAL) {
|
||||
torrentDaemon {
|
||||
setTorrentPriority(infohash: $infohash, priority: $priority)
|
||||
}
|
||||
}
|
||||
|
||||
query ListTorrents($downloading: Boolean) {
|
||||
torrents(filter: {
|
||||
downloading: {
|
||||
eq: $downloading
|
||||
}
|
||||
}) {
|
||||
name
|
||||
infohash
|
||||
bytesCompleted
|
||||
bytesMissing
|
||||
peers {
|
||||
ip
|
||||
downloadRate
|
||||
clientName
|
||||
query ListTorrents {
|
||||
torrentDaemon {
|
||||
torrents {
|
||||
name
|
||||
infohash
|
||||
bytesCompleted
|
||||
bytesMissing
|
||||
peers {
|
||||
ip
|
||||
downloadRate
|
||||
clientName
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue