Stopped completed torrents for doing GET for updated data
This commit is contained in:
parent
bbcd955f28
commit
ffa0f07daf
@ -390,7 +390,7 @@
|
||||
app.torrent.list(function(err, data){
|
||||
for(let torrent of data.results){
|
||||
$.scope.tbp_proxy_torrent_dialog_torrents.push(app.torrent.parseTorrnetItem(torrent))
|
||||
app.torrent.get(function(error, torrent){
|
||||
if(torrent.percentDone !== 1) app.torrent.get(function(error, torrent){
|
||||
$.scope.tbp_proxy_torrent_dialog_torrents.update('hashString', torrent.result.hashString, app.torrent.parseTorrnetItem(torrent.result))
|
||||
} , torrent.hashString, true)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user