Thread: [See Bugtracker] AutoUpdate while reconnect
View Single Post
  #13  
Old 12.12.2016, 16:32
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by mgpai View Post
Code:
// Check if updates are availiable
if (callAPI("update", "isUpdateAvailable")) {
    // Restart JD and update
    callAPI("update", "restartAndUpdate");
}
@DAC324,
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