JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #3041  
Old 11.09.2024, 14:19
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 698
Default

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
Reply With Quote
  #3042  
Old 11.09.2024, 14:31
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 72,752
Default

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3043  
Old 11.09.2024, 14:37
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 698
Default

Quote:
- It definitely tries multiple times
Not here, I would say.

Quote:
If you want to discuss this topic in a deeper way, please open a new thread and describe your current problem.
Okay, mache ich nachher.
__________________
Aktuelles Windows
Reply With Quote
  #3044  
Old 14.09.2024, 11:01
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,586
Default

Quote:
Originally Posted by StefanM View Post
format hh:mm:ss.xxx
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);
    }
}
Reply With Quote
  #3045  
Old 19.09.2024, 02:12
Fierro3612 Fierro3612 is offline
Modem User
 
Join Date: Jul 2024
Posts: 3
Smile [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.
Reply With Quote
  #3046  
Old 20.09.2024, 13:24
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,586
Default

Quote:
Originally Posted by jDX007 View Post
...
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?
Reply With Quote
  #3047  
Old 20.09.2024, 13:35
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,586
Default

Quote:
Originally Posted by John19234 View Post
but av doesnt scan the files instantly, I wanted a feature like fdm where it scans it instantly. I deal with files that might not be safe so I scan them before unpacking. Just want to automate it.

Also periodic av scans take time and might scan files that have already been scanned. I want a selective scan of one file.
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);
}
Reply With Quote
  #3048  
Old 20.09.2024, 13:45
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,586
Default

Quote:
Originally Posted by Fierro3612 View Post
[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?
Code:
/*
    remove orphaned links
    trigger : jdownloader started
*/

getAllDownloadLinks().forEach(function(link) {
    link.finished && !getPath(link.downloadPath).exists() && link.remove();
})
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 15:18.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.