Remove message "Full library sync finished"

This commit is contained in:
croneter 2018-12-10 07:35:46 +01:00
parent 74e801cf4d
commit 6eb36f0560
2 changed files with 2 additions and 11 deletions

View file

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

View file

@ -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')