#3041
|
|||
|
|||
I have never seen such happen here. What settings does it?
So after a reconnect is executed and the router / modem does not get an Internet connection JD automatically reconnects after a special time?
__________________
Aktuelles Windows |
#3042
|
||||
|
||||
I don't know but afik:
- It definitely tries multiple times - If you got the same IP after a reconnect, a retry will also be triggered If you want to discuss this topic in a deeper way, please open a new thread and describe your current problem. As script really shouldn't be needed in this case.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3043
|
|||
|
|||
Quote:
Quote:
__________________
Aktuelles Windows |
#3044
|
|||
|
|||
Code:
/* generate "video_duration_formatted" property from "video_duration" property trigger: packagizer hook Enable "synchronous execution of script" checkbox in top panel */ if (linkcheckDone && state == "BEFORE") { var duration = link.getProperty("video_duration"); if (duration != null) { var fmt = function(n) { return ("0" + n).slice(0, 2); } var [seconds, milliseconds] = ("" + duration).split("."); var hours = fmt(seconds / 3600); seconds %= 3600; var minutes = fmt(seconds / 60); seconds = fmt(seconds % 60); duration = ([hours, minutes, seconds].join(":") + "," + milliseconds) link.setProperty("video_duration_formatted", duration); } } |
Thread Tools | |
Display Modes | |
|
|