mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
check for item name none
This commit is contained in:
parent
099b8ce253
commit
4298db5f90
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@ class TVShows(Items):
|
|||
API = api.API(item)
|
||||
|
||||
if settings('syncEmptyShows') == "false" and not item.get('RecursiveItemCount'):
|
||||
log.info("Skipping empty show: %s", item['Name'])
|
||||
if item.get('Name', None) is not None:
|
||||
log.info("Skipping empty show: %s", item['Name'])
|
||||
return
|
||||
# If the item already exist in the local Kodi DB we'll perform a full item update
|
||||
# If the item doesn't exist, we'll add it to the database
|
||||
|
|
Loading…
Reference in a new issue