Merge pull request #880 from croneter/playlist-sync-dialog
Add additional info dialog for PKC synching playlists
This commit is contained in:
commit
563e86c8db
2 changed files with 8 additions and 4 deletions
|
@ -1398,7 +1398,7 @@ msgstr ""
|
|||
|
||||
# Shown during sync process
|
||||
msgctxt "#39715"
|
||||
msgid "items"
|
||||
msgid "Synching playlists"
|
||||
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}!
|
||||
|
|
|
@ -428,9 +428,13 @@ class FullSync(common.fullsync_mixin):
|
|||
if self.isCanceled() or not self.full_library_sync():
|
||||
self.successful = False
|
||||
return
|
||||
if common.PLAYLIST_SYNC_ENABLED and not playlists.full_sync():
|
||||
if common.PLAYLIST_SYNC_ENABLED:
|
||||
if self.dialog:
|
||||
self.dialog.close()
|
||||
self.dialog = xbmcgui.DialogProgressBG()
|
||||
self.dialog.create(utils.lang(39715))
|
||||
if not playlists.full_sync():
|
||||
self.successful = False
|
||||
return
|
||||
finally:
|
||||
common.update_kodi_library(video=True, music=True)
|
||||
if self.dialog:
|
||||
|
|
Loading…
Reference in a new issue