Thread: [See Bugtracker] Nicovideo.jp - Plugin outdated
View Single Post
  #4  
Old 13.11.2018, 23:05
SonoM SonoM is offline
Junior Loader
 
Join Date: Oct 2018
Posts: 12
Default

While waiting for a fix i wrote a script to auto resume the download queue, it's not very sophisticated but it seems to works fine
Code:
if (isDownloadControllerIdle()) {
    var myDownloadLink = getAllDownloadLinks();

    for (var i = 0; i < myDownloadLink.length; i++) {
        var link = myDownloadLink[i];
        link.resume();
    }
    startDownloads();
}
The trigger is: "Download Controller stopped"
Reply With Quote