Merge pull request #705 from croneter/improve-sync-dialog
Improve sync dialog
This commit is contained in:
commit
6bf0cf4894
1 changed files with 4 additions and 2 deletions
|
@ -83,8 +83,8 @@ class FullSync(common.fullsync_mixin):
|
||||||
progress = 0
|
progress = 0
|
||||||
self.dialog.update(progress,
|
self.dialog.update(progress,
|
||||||
'%s (%s)' % (self.section_name, self.section_type_text),
|
'%s (%s)' % (self.section_name, self.section_type_text),
|
||||||
'%s/%s %s'
|
'%s %s/%s'
|
||||||
% (self.current, self.total, self.title))
|
% (self.title, self.current, self.total))
|
||||||
if app.APP.player.isPlayingVideo():
|
if app.APP.player.isPlayingVideo():
|
||||||
self.dialog.close()
|
self.dialog.close()
|
||||||
self.dialog = None
|
self.dialog = None
|
||||||
|
@ -337,6 +337,8 @@ class FullSync(common.fullsync_mixin):
|
||||||
# were set to unwatched). Also mark all items on the PMS to be able
|
# were set to unwatched). Also mark all items on the PMS to be able
|
||||||
# to delete the ones still in Kodi
|
# to delete the ones still in Kodi
|
||||||
LOG.info('Start synching playstate and userdata for every item')
|
LOG.info('Start synching playstate and userdata for every item')
|
||||||
|
# Make sure we're not showing an item's title in the sync dialog
|
||||||
|
self.title = ''
|
||||||
self.threader.shutdown()
|
self.threader.shutdown()
|
||||||
self.threader = None
|
self.threader = None
|
||||||
if not self.show_dialog_userdata and self.dialog:
|
if not self.show_dialog_userdata and self.dialog:
|
||||||
|
|
Loading…
Reference in a new issue