#1
|
||||
|
||||
Auto-Stop and Continue for single links
Is there a setting to "stop and continue" for a single link if/when the bandwidth for that specific link falls below a specified speed limit?. The only hoster I have an issue with is with premium uploaded links where say I have 10 files and 7 of them will download at their optimum speed per chunk, however for the other three files at around 75-85%, it will drop all the chunks except one and continue download it below 50kb/s which takes hours to complete unless I manually stop it and force-started it to continue finishing at the single chunk/connection at around 525-1000kb/s for that single chunk. I have come across this issue in the past with this hoster, however, after awhile it goes away on its own so now I'm back having to babysit when downloading from this hoster. By the way, this issue has occurred from different IP-addresses with different net providers.
|
#2
|
||||
|
||||
there is an event script that checks speed of downloads and will restart download.
check the example scripts.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 17.07.2019 at 02:32. |
#3
|
||||
|
||||
Quote:
https://board.jdownloader.org/showpo...0&postcount=24 |
#4
|
||||
|
||||
@RPNet-user: When I remember right, there should be a script that only restarts the affected downloads and not all of them. In doubt, maybe contact mgpai for help
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
@Jiaz, thanks, I will look for it.
|
#6
|
||||
|
||||
I think this one maybe the one, I will need to test it:
https://board.jdownloader.org/showpo...6&postcount=66 |
#7
|
|||
|
|||
Quote:
Code:
// Restart link, if download speed of the link is less than specified speed. // Trigger: Interval (Recommended: 60000 or more). var myHosts = ["uploaded.to", "appwork.org", "jdownloader.org"]; // <- Check links only from these hosts. var myDuration = 5; // (minutes) <- Check the link speed only after it has been running for atleast this duration. var mySpeed = 128; // (KiB/s) <- Restart link, if download speed of the link is below this speed. getRunningDownloadLinks().forEach(function(link) { if (myHosts.indexOf(link.getDownloadHost()) == -1) return; if (link.getDownloadDuration() < myDuration * 60 * 1000) return; if (link.getSpeed() > mySpeed * 1024) return; link.abort(); }) |
#8
|
||||
|
||||
@mgpai,
Thank you, it's perfect. |
#9
|
||||
|
||||
@mgpai: thanks for great script!
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|