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
|