Thread: [See Bugtracker] AutoUpdate while reconnect
View Single Post
Old 12.12.2016, 15:32
mgpai mgpai is offline
Script Master
Join Date: Sep 2013
Posts: 1,210

Originally Posted by mgpai View Post
// Check if updates are availiable
if (callAPI("update", "isUpdateAvailable")) {
    // Restart JD and update
    callAPI("update", "restartAndUpdate");
Use the above script with "Before a Reconnect" trigger. Since the external IP would still remain the same after the restart, a "Reconnect" should be triggered automatically when the downloads starts again.
Reply With Quote