ziahamza/webui-aria2

Set the 'lowest-speed-limit' parameter will stop the low download speed task and the webui-aria2 can not restart it all.

gzlock opened this issue · 1 comments

I need Aria2 to automatically stop the low download speed task, and then restart it to get the highest download speed (which can usually be achieved).
But now I need to handle these tasks manually.
It would be nice if webui could achieve this function.
screenshot

I use the following script solved

function loop (){
  const a = document.querySelectorAll('[ng-click="restart(download)"]')
  a.forEach(($e,i)=>$e.click())
  console.log('Restart',a.length,'tasks')
}
setInterval(loop,5000)