mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 14:05:23 +01:00
parent
f6fae17c19
commit
090842b03c
@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|||||||
|
|
||||||
- You can now append a suffix to the end of each backup name (folder or zip file). This is only available in the Advanced or Expert settings.
|
- You can now append a suffix to the end of each backup name (folder or zip file). This is only available in the Advanced or Expert settings.
|
||||||
- validation file now saves a list of all installed addons and versions
|
- validation file now saves a list of all installed addons and versions
|
||||||
|
- prompt to close Kodi at the end of successful restore
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
@ -294,7 +294,7 @@ msgid "Restart Kodi"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#30078"
|
msgctxt "#30078"
|
||||||
msgid "You should restart Kodi to continue"
|
msgid "A restart is recommended, select Yes to close Kodi"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#30079"
|
msgctxt "#30079"
|
||||||
|
@ -285,7 +285,9 @@ class XbmcBackup:
|
|||||||
self._createResumeBackupFile()
|
self._createResumeBackupFile()
|
||||||
|
|
||||||
# do not continue running
|
# do not continue running
|
||||||
xbmcgui.Dialog().ok(utils.getString(30077), utils.getString(30078))
|
if(xbmcgui.Dialog().yesno(utils.getString(30077), utils.getString(30078), autoclose=15000)):
|
||||||
|
xbmc.executebuiltin('Quit')
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
# check if settings should be restored from this backup
|
# check if settings should be restored from this backup
|
||||||
@ -347,6 +349,11 @@ class XbmcBackup:
|
|||||||
# call update addons to refresh everything
|
# call update addons to refresh everything
|
||||||
xbmc.executebuiltin('UpdateLocalAddons')
|
xbmc.executebuiltin('UpdateLocalAddons')
|
||||||
|
|
||||||
|
# notify user that restart is recommended
|
||||||
|
if(xbmcgui.Dialog().yesno(utils.getString(30077), utils.getString(30078), autoclose=15000)):
|
||||||
|
xbmc.executebuiltin('Quit')
|
||||||
|
|
||||||
|
|
||||||
def _setupVFS(self, mode=-1, progressOverride=False):
|
def _setupVFS(self, mode=-1, progressOverride=False):
|
||||||
# set windows setting to true
|
# set windows setting to true
|
||||||
window = xbmcgui.Window(10000)
|
window = xbmcgui.Window(10000)
|
||||||
|
Loading…
Reference in New Issue
Block a user