View Single Post
  #2109  
Old 17.02.2022, 13:12
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by namyar View Post
sometimes links are flagged as "insufficient space". I'd like to retry such links after a certain time
Code:
/*
    Resume links
    Trigger : Interval (Recmmended 600000+)
*/

var start = isDownloadControllerRunning();

getAllDownloadLinks().forEach(function(link) {
    link.skippedReason == "DISK_FULL" && (link.skipped = false);
    !start && (start = true);
})

start && !isDownloadControllerRunning() && startDownloads();
Reply With Quote