Increase path hack stability
- What happens if there are no movies or shows?
This commit is contained in:
parent
88b581f756
commit
ceedba4f46
1 changed files with 6 additions and 1 deletions
|
@ -464,7 +464,12 @@ class LibrarySync(Thread):
|
||||||
|
|
||||||
# Path hack, so Kodis Information screen works
|
# Path hack, so Kodis Information screen works
|
||||||
with kodidb.GetKodiDB('video') as kodi_db:
|
with kodidb.GetKodiDB('video') as kodi_db:
|
||||||
|
try:
|
||||||
kodi_db.pathHack()
|
kodi_db.pathHack()
|
||||||
|
except Exception as e:
|
||||||
|
# Empty movies, tv shows?
|
||||||
|
self.logMsg('Path hack failed with error message: %s'
|
||||||
|
% str(e), -1)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def processView(self, folderItem, kodi_db, emby_db, totalnodes):
|
def processView(self, folderItem, kodi_db, emby_db, totalnodes):
|
||||||
|
|
Loading…
Reference in a new issue