From 63239ac60a6e54fd42bb27c4058f3e18d1604832 Mon Sep 17 00:00:00 2001 From: xnappo Date: Sun, 5 Apr 2015 13:13:45 -0500 Subject: [PATCH] Don't create empty shows --- resources/lib/LibrarySync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index b6d7da70..4e7eb236 100644 --- a/resources/lib/LibrarySync.py +++ b/resources/lib/LibrarySync.py @@ -391,7 +391,7 @@ class LibrarySync(): count = 1 for item in tvShowData: - if item.get('IsFolder'): + if item.get('IsFolder') and item.get('RecursiveItemCount') != 0: allTVShows.append(item["Id"]) viewTVShows.append(item["Id"]) item['Tag'] = []