From 825237dfedb46c1b4318d4ef8c91392764abf78a Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 21 Dec 2018 17:00:51 +0100 Subject: [PATCH] Close sync dialog if video playback starts --- resources/lib/library_sync/full_sync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/library_sync/full_sync.py b/resources/lib/library_sync/full_sync.py index 752e49c9..721b2db0 100644 --- a/resources/lib/library_sync/full_sync.py +++ b/resources/lib/library_sync/full_sync.py @@ -105,6 +105,9 @@ class FullSync(common.fullsync_mixin): '%s (%s)' % (self.section_name, self.section_type_text), '%s/%s %s' % (self.current, self.total, self.title)) + if app.APP.player.isPlayingVideo(): + self.dialog.close() + self.dialog = None def process_item(self, xml_item): """