#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" + parseInt(n)).slice(-2); } var [seconds, milliseconds] = ("" + duration).split("."); var hours = fmt(seconds / 3600); seconds %= 3600; var minutes = fmt(seconds / 60); seconds = fmt(seconds % 60); milliseconds = ((milliseconds || "000") + "000").slice(0, 3); duration = ([hours, minutes, seconds].join(":") + "," + milliseconds) link.setProperty("video_duration_formatted", duration); } } Last edited by mgpai; 03.10.2024 at 07:10. |
#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, parameters, file); } Last edited by mgpai; 20.09.2024 at 19:23. |
#3048
|
|||
|
|||
Quote:
Code:
/* remove orphaned links trigger : jdownloader started */ getAllDownloadLinks().forEach(function(link) { link.finished && !getPath(link.downloadPath).exists() && link.remove(); }) |
#3049
|
|||
|
|||
Thank You very much
|
#3050
|
||||
|
||||
Quote:
I was away for some time and must have overlooked this. Now, thank you very, very much for your help. Will test the script probably this weekend and then let you know about the result. Best regards, Stefan |
#3051
|
||||
|
||||
Quote:
for 895,019 sec it returns 00:01:05,019 (incorrect) the correct result would be 00:14:55,019 (correct) Sent you an example link in a PM Thanks again for any efforts taken. BR Stefan |
#3053
|
||||
|
||||
Quote:
Three minor issues: 1. I'm getting a popup message "Alert message from MyScript@Packagizer Hook" for each digit group. Probably a leftover from your own tests? EDIT: Removed it myself... 2. Trailing zeroes are not shown: e.g. the script shows 00:03:25,6 instead of 00:03:25,600 (which I would prefer, if possible) 3. When there are no digits after the decimal separator e.g. 00:03:25,000, the script shows 00:03:25,undefined I would prefer ",000" if possible Last edited by StefanM; 01.10.2024 at 15:31. |
#3054
|
|||
|
|||
|
#3055
|
||||
|
||||
|
#3057
|
||||
|
||||
Working like a charm.
Thanks once again for the great work! I admire your skills. It was probably not that simple to write this script. |
#3058
|
|||
|
|||
Download Check in Kodi like folder setup
Hi.
I need some help with a little script what will check if i have the movie already before download. I have a base folder with 5-6000 movie folders. The movies are all starting with the DVD ID-Title-Year The movie folder has the same name as the movie. I need the script to check the section before the "-" Dash and after the "-" Dash before the "space". This way it docen't matter how many letters there is in the DVD-ID. example AARM-018 Best Of Thigh Job Threesomes (2021) Does this sound plausibel, than please let me know, i would really appreciate it. I am not sure if the script was already made but i could not find any thing like this. Thanks |
#3059
|
|||
|
|||
Check against what? file/folder name in download list?
|
#3060
|
|||
|
|||
It needs to check in download folder and any subfolders for any files with mp4 or mkv extension.
|
#3061
|
|||
|
|||
Can you make it ?
|
Thread Tools | |
Display Modes | |
|
|