Don't create empty shows
This commit is contained in:
parent
4819b5f272
commit
63239ac60a
1 changed files with 1 additions and 1 deletions
|
@ -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'] = []
|
||||||
|
|
Loading…
Reference in a new issue