Quote:
Originally Posted by namyar
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();