Show dialog if some items could not be processed
This commit is contained in:
parent
0064029885
commit
a5d37caef0
3 changed files with 10 additions and 0 deletions
|
@ -406,5 +406,6 @@
|
||||||
<string id="39405">Plex playlists/nodes refreshed</string>
|
<string id="39405">Plex playlists/nodes refreshed</string>
|
||||||
<string id="39406">Plex playlists/nodes refresh failed</string>
|
<string id="39406">Plex playlists/nodes refresh failed</string>
|
||||||
<string id="39407">Full library sync finished</string>
|
<string id="39407">Full library sync finished</string>
|
||||||
|
<string id="39408">Sync had to skip some items because they could not be processed. Please post your Kodi logs to the Plex forum.</string>
|
||||||
|
|
||||||
</strings>
|
</strings>
|
||||||
|
|
|
@ -338,5 +338,6 @@
|
||||||
<string id="39405">Plex Playlisten/Nodes aktualisiert</string>
|
<string id="39405">Plex Playlisten/Nodes aktualisiert</string>
|
||||||
<string id="39406">Plex Playlisten/Nodes Aktualisierung fehlgeschlagen</string>
|
<string id="39406">Plex Playlisten/Nodes Aktualisierung fehlgeschlagen</string>
|
||||||
<string id="39407">Plex Bibliotheken aktualisiert</string>
|
<string id="39407">Plex Bibliotheken aktualisiert</string>
|
||||||
|
<string id="39408">Einige Plex Einträge mussten übersprungen werden, da sie nicht verarbeitet werden konnten. Bitte teilen Sie Ihr Kodi log im Plex Forum.</string>
|
||||||
|
|
||||||
</strings>
|
</strings>
|
||||||
|
|
|
@ -340,6 +340,10 @@ class LibrarySync(Thread):
|
||||||
|
|
||||||
# Reset and return
|
# Reset and return
|
||||||
self.allPlexElementsId = {}
|
self.allPlexElementsId = {}
|
||||||
|
# Show warning if itemtypes.py crashed at some point
|
||||||
|
if utils.window('plex_scancrashed') == 'true':
|
||||||
|
xbmcgui.Dialog().ok(self.addonName, self.__language__(39408))
|
||||||
|
utils.window('plex_scancrashed', clear=True)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def saveLastSync(self):
|
def saveLastSync(self):
|
||||||
|
@ -413,6 +417,10 @@ class LibrarySync(Thread):
|
||||||
utils.window('emby_initialScan', clear=True)
|
utils.window('emby_initialScan', clear=True)
|
||||||
xbmc.executebuiltin('InhibitIdleShutdown(false)')
|
xbmc.executebuiltin('InhibitIdleShutdown(false)')
|
||||||
utils.setScreensaver(value=screensaver)
|
utils.setScreensaver(value=screensaver)
|
||||||
|
# Show warning if itemtypes.py crashed at some point
|
||||||
|
if utils.window('plex_scancrashed') == 'true':
|
||||||
|
xbmcgui.Dialog().ok(self.addonName, self.__language__(39408))
|
||||||
|
utils.window('plex_scancrashed', clear=True)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def processView(self, folderItem, kodi_db, emby_db, totalnodes):
|
def processView(self, folderItem, kodi_db, emby_db, totalnodes):
|
||||||
|
|
Loading…
Add table
Reference in a new issue