Add additional info dialog for PKC synching playlists
This commit is contained in:
parent
844de523d4
commit
1cbd65861c
2 changed files with 8 additions and 4 deletions
|
@ -1398,7 +1398,7 @@ msgstr ""
|
||||||
|
|
||||||
# Shown during sync process
|
# Shown during sync process
|
||||||
msgctxt "#39715"
|
msgctxt "#39715"
|
||||||
msgid "items"
|
msgid "Synching playlists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
# Error message if an xml, e.g. advancedsettings.xml cannot be parsed (xml is screwed up; formated the wrong way). Do NOT replace {0} and {1}!
|
# Error message if an xml, e.g. advancedsettings.xml cannot be parsed (xml is screwed up; formated the wrong way). Do NOT replace {0} and {1}!
|
||||||
|
|
|
@ -428,9 +428,13 @@ class FullSync(common.fullsync_mixin):
|
||||||
if self.isCanceled() or not self.full_library_sync():
|
if self.isCanceled() or not self.full_library_sync():
|
||||||
self.successful = False
|
self.successful = False
|
||||||
return
|
return
|
||||||
if common.PLAYLIST_SYNC_ENABLED and not playlists.full_sync():
|
if common.PLAYLIST_SYNC_ENABLED:
|
||||||
self.successful = False
|
if self.dialog:
|
||||||
return
|
self.dialog.close()
|
||||||
|
self.dialog = xbmcgui.DialogProgressBG()
|
||||||
|
self.dialog.create(utils.lang(39715))
|
||||||
|
if not playlists.full_sync():
|
||||||
|
self.successful = False
|
||||||
finally:
|
finally:
|
||||||
common.update_kodi_library(video=True, music=True)
|
common.update_kodi_library(video=True, music=True)
|
||||||
if self.dialog:
|
if self.dialog:
|
||||||
|
|
Loading…
Reference in a new issue