#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); } } |
#3045
|
|||
|
|||
[EventScripter] Downloadlist cleanup / Aufräumen der Downloadliste
[EventScripter] Downloadlist cleanup / Aufräumen
Eine Möglichkeit zum Aufräumen der Downloadliste wäre toll. Ich meine Einträge für die es keine Files mehr im Downloadordner mehr gibt zu löschen. Hat vielleicht schon so ein Script gesehen? **** A way to clean up the download list would be great. I mean deleting entries for which there are no more files in the download folder. Has anyone seen a script like this? Last edited by Fierro3612; 19.09.2024 at 22:00. |
#3046
|
|||
|
|||
That script is to add the metadata to the descriptions text file. Which field from the media metadata appears as in the OS file properties dialog?
|
#3047
|
|||
|
|||
Quote:
Code:
/* run external command on dowloaded file trigger : download finished */ if (link.finished) { var program = ["/path/to/myexternalprogram.exe"]; var parameters = ["paremeter1", "parameter2", "paremeter..."].join(","); var file = getPath(link.downloadPath); callSync(program, properties, file); } |
#3048
|
|||
|
|||
Quote:
Code:
/* remove orphaned links trigger : jdownloader started */ getAllDownloadLinks().forEach(function(link) { link.finished && !getPath(link.downloadPath).exists() && link.remove(); }) |
Thread Tools | |
Display Modes | |
|
|