diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 2533e94a..2f70ff9f 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -1222,10 +1222,6 @@ msgctxt "#39406" msgid "Plex playlists/nodes refresh failed" msgstr "" -msgctxt "#39407" -msgid "Full library sync finished" -msgstr "" - msgctxt "#39408" msgid "Sync had to skip some items because they could not be processed. Kodi may be instable now!! Please post your Kodi logs to the Plex forum." msgstr "" diff --git a/resources/lib/sync.py b/resources/lib/sync.py index 6c7755e0..ab57fa72 100644 --- a/resources/lib/sync.py +++ b/resources/lib/sync.py @@ -76,10 +76,7 @@ class Sync(backgroundthread.KillableThread): self.start_library_sync(show_dialog=True, repair=app.SYNC.run_lib_scan == 'repair', block=True) - if self.sync_successful: - # Full library sync finished - self.show_kodi_note(utils.lang(39407)) - elif not self.isSuspended() and not self.isCanceled(): + if not self.sync_successful and not self.isSuspended() and not self.isCanceled(): # ERROR in library sync self.show_kodi_note(utils.lang(39410), icon='error') elif app.SYNC.run_lib_scan == 'fanart': @@ -112,9 +109,7 @@ class Sync(backgroundthread.KillableThread): self.sync_successful = successful self.last_full_sync = timing.unix_timestamp() set_library_scan_toggle(boolean=False) - if successful: - self.show_kodi_note(utils.lang(39407)) - else: + if not successful: LOG.error('Could not finish scheduled full sync') self.force_dialog = True self.show_kodi_note(utils.lang(39410), icon='error')