the script was:
Code:
// Check if updates are availaible when JD is idle
if (callAPI("update", "isUpdateAvailable") && isDownloadControllerIdle()) {
// Restart JD and Update
callAPI("update", "restartAndUpdate")
}
i try the new one. we will see if it works or not. thank you mgpai