From 938538c54f837028a955966dcc6984792452aae7 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 13 Dec 2017 02:38:26 -0600 Subject: [PATCH] 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. --- resources/lib/objects/tvshows.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/lib/objects/tvshows.py b/resources/lib/objects/tvshows.py index c6c2b37e..b8a79d16 100644 --- a/resources/lib/objects/tvshows.py +++ b/resources/lib/objects/tvshows.py @@ -234,10 +234,11 @@ class TVShows(Items): artwork = self.artwork 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: 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 doesn't exist, we'll add it to the database update_item = True