JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 23.04.2023, 16:27
rick-nash rick-nash is offline
Modem User
 
Join Date: Apr 2023
Posts: 2
Default erst entpacken wenn ALLE Downloads fertig sind

Ich möchte dass Jdownloader erst mit dem entpacken beginnt wenn alle Downloads abgeschlossen sind. Über den Eventscripter ginge das wenn als Event "Download Controller Stopped" als Trigger ausgewählt wird.

Ich habe den folgenden Code aus folgenden Thread ausprobiert:

Code:
var links = getAllDownloadLinks();

    for (i = 0; i < links.length; i++) {
        var link = links[i];
        var autoExtract = link.getArchive().getInfo().autoExtract;

        if (link.isFinished() && link.getArchive() && link.getExtractionStatus() == null && autoExtract != "FALSE") {
            callAPI("extraction", "startExtractionNow", [link.getUUID()], []);
        }
    }
Quelle: https://board.jdownloader.org/showthread.php?t=73290

Leider funktioniert dieser Code bei mir nicht.
Fehler: net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped org.jdownloader.extensions.eventscripter.EnvironmentException: Line 8
java.lang.reflect.InvocationTargetException

Komplette Fehlermeldung siehe Anhang.

Ich mach hier einen neuen Thread auf, weil der andere schon als gelöst markiert ist.

Ich hoffe dass mir wer helfen kann.
Attached Files
File Type: txt Fehlermeldung.txt (7.3 KB, 2 views)
Reply With Quote
  #2  
Old 23.04.2023, 18:41
notice notice is offline
JD Supporter
 
Join Date: Mar 2023
Posts: 505
Default

@rick-nash: Danke für die Meldung. Fehler wird mit nächstem Core Update behoben sein. Evtl später am Abend oder Vormittag
Reply With Quote
  #3  
Old 23.04.2023, 19:12
rick-nash rick-nash is offline
Modem User
 
Join Date: Apr 2023
Posts: 2
Default

das ging ja flott! Vielen Dank!
Reply With Quote
  #4  
Old 23.04.2023, 20:03
notice notice is offline
JD Supporter
 
Join Date: Mar 2023
Posts: 505
Default

Quote:
Originally Posted by rick-nash View Post
das ging ja flott! Vielen Dank!
Update is raus! grüße
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 10:32.
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.