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
|
||||
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)
|
||||
return
|
||||
# If the item already exist in the local Kodi DB we'll perform a full item update
|
||||
|
|
Loading…
Reference in a new issue