From c388789fbd46f7f899d5683a07865c721214a79f Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 30 Jan 2019 18:05:28 +0100 Subject: [PATCH] Add error notification is full sync is unsuccessful --- resources/lib/library_sync/full_sync.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/lib/library_sync/full_sync.py b/resources/lib/library_sync/full_sync.py index 855a694b..6e2b1119 100644 --- a/resources/lib/library_sync/full_sync.py +++ b/resources/lib/library_sync/full_sync.py @@ -415,6 +415,12 @@ class FullSync(common.fullsync_mixin): self.dialog.close() if self.threader: self.threader.shutdown() + if not self.successful and not self.isCanceled(): + # "ERROR in library sync" + utils.dialog('notification', + heading='{plex}', + message=utils.lang(39410), + icon='{error}') if self.callback: self.callback(self.successful) LOG.info('Done full_sync')