Don't show sync messages while Kodi is playing something

- Fixes #570
This commit is contained in:
croneter 2018-12-11 12:54:14 +01:00
parent f6aab94d10
commit 1156a4efa1

View file

@ -51,6 +51,9 @@ class Sync(backgroundthread.KillableThread):
icon: "plex": shows Plex icon icon: "plex": shows Plex icon
"error": shows Kodi error icon "error": shows Kodi error icon
""" """
if app.APP.player.isPlaying():
LOG.info('Playing media - not showing note: %s', message)
return
if not force and app.SYNC.sync_dialog is not True and self.force_dialog is not True: if not force and app.SYNC.sync_dialog is not True and self.force_dialog is not True:
return return
if icon == "plex": if icon == "plex":