Quote:
Originally Posted by assoemitro
... but there is another point in my request that if it is possible to download 1 package at a time
|
To download only select packages or links you will have to to start them using 'force download start' option in context menu instead of 'start' button in the toolbar.
While this can be automated using a script, if the package does not finish downloading for any reason, the script will try to start the the same package in a loop and the list will not progress. It is better to use the default option and try to limit the active downloads using global/host connection limit.
Quote:
Originally Posted by assoemitro
The reasoning of this is that when extraction is underway, the others files will not stop downloading right away and sometimes the process takes several minutes to completely stop. Also CRC checking also become extremely slow.
|
Try the new scripts posted below.
Quote:
Originally Posted by assoemitro
++ Also I found a bug, It works for the 1st file, but the process does not repeat again for the 2nd. I think it needs additional script line to repeat the process.
|
I don't use JD on a regular basis, and hence can perform only short/basic tests. I could not reproduce the issue. It is quite possible my test conditions are different than yours, so cannot say for sure what it causing it.
In any case, while the following 2 scripts will not limit the downloads to a single package, it will most likely achieve your objective, since it will stop active downloads when ANY extraction activity is detected. Let me know if you run into any issues.
Code:
/*
Stop downloads during extraction
Trigger: Any extaction event
*/
isDownloadControllerRunning() && stopDownloads();
Code:
/*
Start downloads after extraction
Trigger: Archive extraction finished
*/
!callAPI("extraction", "getQueue").length && startDownloads();