pull/122/head
meisnate12 4 years ago
parent eef2aff8e6
commit 4dd1bbaf07

@ -726,8 +726,7 @@ class CollectionBuilder:
keep_collection = False keep_collection = False
break break
if keep_collection: if keep_collection:
good_collections.append(col.title.lower()) good_collections.append(col.index)
all_items = self.library.Plex.all() all_items = self.library.Plex.all()
length = 0 length = 0
for i, item in enumerate(all_items, 1): for i, item in enumerate(all_items, 1):
@ -735,7 +734,7 @@ class CollectionBuilder:
add_item = True add_item = True
item.reload() item.reload()
for collection in item.collections: for collection in item.collections:
if collection.tag.lower() in good_collections: if collection.id in good_collections:
add_item = False add_item = False
break break
if add_item: if add_item:

Loading…
Cancel
Save