mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-01-24 08:56:10 +00:00
Temp fix
Server api changed recursivecount. It now returns 0 regardless of the show containing episodes. There's no way to detect empty shows as far as I'm aware so remove check.
This commit is contained in:
parent
bfaed955f5
commit
938538c54f
1 changed files with 3 additions and 2 deletions
|
@ -234,10 +234,11 @@ class TVShows(Items):
|
||||||
artwork = self.artwork
|
artwork = self.artwork
|
||||||
API = api.API(item)
|
API = api.API(item)
|
||||||
|
|
||||||
if settings('syncEmptyShows') == "false" and not item.get('RecursiveItemCount'):
|
# Server api changed or something? RecursiveItemCount always returns 0
|
||||||
|
"""if settings('syncEmptyShows') == "false" and not item.get('RecursiveItemCount'):
|
||||||
if item.get('Name', None) is not None:
|
if item.get('Name', None) is not None:
|
||||||
log.info("Skipping empty show: %s", item['Name'])
|
log.info("Skipping empty show: %s", item['Name'])
|
||||||
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
|
||||||
# If the item doesn't exist, we'll add it to the database
|
# If the item doesn't exist, we'll add it to the database
|
||||||
update_item = True
|
update_item = True
|
||||||
|
|
Loading…
Reference in a new issue