Quote:
Originally Posted by Tobi573
How is the "force start" command?
|
Quote:
Originally Posted by gentle
Maybe the "PLUGIN_DEFECT" must be replaced with "ERROR_PLUGIN_DEFECT", but these 2 variants also didnt work for me...
|
A 'force' download may not be required. Just the 'resume' call should be enough (Not tested).
Code:
/*
Resume links
Trigger : Interval (Reommended 60000+)
*/
var list = ["PLUGIN_DEFECT", "OTHER_ERROR"];
getAllDownloadLinks().forEach(function(link) {
if (list.indexOf(link.finalLinkStatus) > -1) {
link.resume();
}
})
Use the following script to get a list of link status, select and press CTRL+C to copy the relevant status to clipboard and add it in the main script.
Code:
/*
Get list of final link status
Trigger: None (Use test run to execute the script)
*/
setAdvancedAlert(true);
var list = [];
getAllDownloadLinks().forEach(function(link) {
var status = link.finalLinkStatus;
list.indexOf(status) == -1 && list.push(status);
})
alert(list.join("\n"));