mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 10:46:11 +00:00
Empty show
Prevent crash in the event RecursiveItemCount is missing. Sounds like a server bug if it's missing from the api
This commit is contained in:
parent
b9d40d91a6
commit
e7bdfacd47
1 changed files with 1 additions and 1 deletions
|
@ -1004,7 +1004,7 @@ class TVShows(Items):
|
||||||
artwork = self.artwork
|
artwork = self.artwork
|
||||||
API = api.API(item)
|
API = api.API(item)
|
||||||
|
|
||||||
if utils.settings('syncEmptyShows') == "false" and not item['RecursiveItemCount']:
|
if utils.settings('syncEmptyShows') == "false" and not item.get('RecursiveItemCount'):
|
||||||
self.logMsg("Skipping empty show: %s" % item['Name'], 1)
|
self.logMsg("Skipping empty show: %s" % item['Name'], 1)
|
||||||
return
|
return
|
||||||
# If the item already exist in the local Kodi DB we'll perform a full item update
|
# If the item already exist in the local Kodi DB we'll perform a full item update
|
||||||
|
|
Loading…
Reference in a new issue