2015-08-23, 23:11
(2015-08-21, 20:10)robweber Wrote:(2015-08-21, 18:46)mattmartinolc Wrote: Is there an easy way to add a line of code that reboots the system upon completion of a restore?
Is this something you'd want after a scheduled backup or every backup? I could change the settings for the scheduler to read "Post-Backup Action" and include Shutdown/Restart as an action there. If you're in a hurry just change line 73 of scheduler.py to read "Restart()" rather than shutdown. Again, this only applies to the scheduler.
Would I be able to put "xbmc.executebuiltin('Restart()')" in the code somewhere to reboot after a manual (unscheduled) restore?