From 4786372490ba523d071630fb2f43821477e989f1 Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 5 Feb 2019 15:48:02 +0100 Subject: [PATCH 1/2] Improve sync dialog for Estuary by switching item's title and sync count --- resources/lib/library_sync/full_sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/library_sync/full_sync.py b/resources/lib/library_sync/full_sync.py index 4e810556..94714406 100644 --- a/resources/lib/library_sync/full_sync.py +++ b/resources/lib/library_sync/full_sync.py @@ -83,8 +83,8 @@ class FullSync(common.fullsync_mixin): progress = 0 self.dialog.update(progress, '%s (%s)' % (self.section_name, self.section_type_text), - '%s/%s %s' - % (self.current, self.total, self.title)) + '%s %s/%s' + % (self.title, self.current, self.total)) if app.APP.player.isPlayingVideo(): self.dialog.close() self.dialog = None From ca16f736376ae18ee2ab47f235ffc93e5e9d9aed Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 5 Feb 2019 15:48:24 +0100 Subject: [PATCH 2/2] Make sure we're not showing an item's title while synching playstate --- resources/lib/library_sync/full_sync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/library_sync/full_sync.py b/resources/lib/library_sync/full_sync.py index 94714406..f9bf7580 100644 --- a/resources/lib/library_sync/full_sync.py +++ b/resources/lib/library_sync/full_sync.py @@ -337,6 +337,8 @@ class FullSync(common.fullsync_mixin): # were set to unwatched). Also mark all items on the PMS to be able # to delete the ones still in Kodi 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 = None if not self.show_dialog_userdata and self.dialog: