add notification when schedule changes

This commit is contained in:
Rob Weber 2013-08-25 11:22:10 -05:00
parent f028bffca4
commit dcfb5a1f89
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,7 @@
Version 0.3.9
added "just today" scheduler for one-off type backups
added "just once" scheduler for one-off type backups
show notification on scheduler update
Version 0.3.8

View File

@ -70,5 +70,6 @@
<string id="30076">Shutdown After Backup</string>
<string id="30077">Restart XBMC</string>
<string id="30078">You should restart XBMC to continue</string>
<string id="30079">Just Today</string>
<string id="30079">Just Once</string>
<string id="30080">Scheduler will run again on</string>
</strings>

View File

@ -78,7 +78,7 @@ class BackupScheduler:
if(new_run_time != self.next_run):
self.next_run = new_run_time
#utils.showNotification("Scheduler will run again on " + datetime.datetime.fromtimestamp(self.next_run).strftime('%m-%d-%Y %H:%M')")
utils.showNotification(utils.getString(30080) + " " + datetime.datetime.fromtimestamp(self.next_run).strftime('%m-%d-%Y %H:%M'))
utils.log("scheduler will run again on " + datetime.datetime.fromtimestamp(self.next_run).strftime('%m-%d-%Y %H:%M'))
def settingsChanged(self):