JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09.12.2024, 17:38
FBD's Avatar
FBD FBD is online now
Fibre Channel User
 
Join Date: Nov 2018
Location: https://web.libera.chat/#jDownloader
Posts: 117
Post Stop downloads during extraction

This script stops the download process when extraction is running. Use if you only have resumable downloads or don't care about downloads restarting.

Triggered with "Any Extraction Event" trigger

Spoiler:
Code:
/* 
    Stop downloads during extraction (fbd)
    Trigger Required: Any Extraction Event
*/

if (isDownloadControllerRunning() && event == "EXTRACTING") {
    // Extraction starting and download runnning
    stopDownloads();

} else if (!isDownloadControllerRunning() && event == "CLEANUP") {
    // Restart downloads
    startDownloads();
}
Direct download: raw.githubusercontent.com/FarBeyondDriven/JDscripts/refs/heads/main/PauseDownloadsDuringExtraction.js

__________________
irc.libera.chat #jDownloader web.libera.chat/#jDownloader

Last edited by FBD; 09.12.2024 at 17:40. Reason: direct link
Reply With Quote
 

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 00:10.
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 - 2025, Jelsoft Enterprises Ltd.