View Single Post
Old 15.05.2020, 09:08
mgpai mgpai is offline
Script Master
Join Date: Sep 2013
Posts: 1,201

Originally Posted by OCHer View Post
What should the command be if the script only starts after unpacking finished the last download in the queue?
// Call external program
// Trigger: Archive extraction finished


if (isDownloadControllerIdle() && !callAPI("extraction", "getQueue").length) callSync("synoindex", "-R", "video");

This should call the external program if no downloads are running and last archive file has been extracted. Install the script in JD with GUI and copy the JSON value from advanced settings.
Reply With Quote