Don't create empty shows

This commit is contained in:
xnappo 2015-04-05 13:13:45 -05:00
parent 4819b5f272
commit 63239ac60a

View file

@ -391,7 +391,7 @@ class LibrarySync():
count = 1 count = 1
for item in tvShowData: for item in tvShowData:
if item.get('IsFolder'): if item.get('IsFolder') and item.get('RecursiveItemCount') != 0:
allTVShows.append(item["Id"]) allTVShows.append(item["Id"])
viewTVShows.append(item["Id"]) viewTVShows.append(item["Id"])
item['Tag'] = [] item['Tag'] = []