Close sync dialog if video playback starts

This commit is contained in:
croneter 2018-12-21 17:00:51 +01:00
parent 519c9675ae
commit 825237dfed

View file

@ -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):
"""