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" msgid "Plex playlists/nodes refresh failed"
msgstr "" msgstr ""
msgctxt "#39407"
msgid "Full library sync finished"
msgstr ""
msgctxt "#39408" 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." 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 "" msgstr ""

View file

@ -76,10 +76,7 @@ class Sync(backgroundthread.KillableThread):
self.start_library_sync(show_dialog=True, self.start_library_sync(show_dialog=True,
repair=app.SYNC.run_lib_scan == 'repair', repair=app.SYNC.run_lib_scan == 'repair',
block=True) block=True)
if self.sync_successful: if not self.sync_successful and not self.isSuspended() and not self.isCanceled():
# Full library sync finished
self.show_kodi_note(utils.lang(39407))
elif not self.isSuspended() and not self.isCanceled():
# ERROR in library sync # ERROR in library sync
self.show_kodi_note(utils.lang(39410), icon='error') self.show_kodi_note(utils.lang(39410), icon='error')
elif app.SYNC.run_lib_scan == 'fanart': elif app.SYNC.run_lib_scan == 'fanart':
@ -112,9 +109,7 @@ class Sync(backgroundthread.KillableThread):
self.sync_successful = successful self.sync_successful = successful
self.last_full_sync = timing.unix_timestamp() self.last_full_sync = timing.unix_timestamp()
set_library_scan_toggle(boolean=False) set_library_scan_toggle(boolean=False)
if successful: if not successful:
self.show_kodi_note(utils.lang(39407))
else:
LOG.error('Could not finish scheduled full sync') LOG.error('Could not finish scheduled full sync')
self.force_dialog = True self.force_dialog = True
self.show_kodi_note(utils.lang(39410), icon='error') self.show_kodi_note(utils.lang(39410), icon='error')