mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-16 13:58:25 +00:00
possible fix for #47
This commit is contained in:
parent
adb612e69a
commit
4c3f734a5f
1 changed files with 6 additions and 4 deletions
|
@ -718,10 +718,11 @@ class CollectionBuilder:
|
|||
if col.title.startswith(pre) or (col.titleSort and col.titleSort.startswith(pre)):
|
||||
keep_collection = False
|
||||
break
|
||||
for ext in value["exclude"]:
|
||||
if col.title == ext or (col.titleSort and col.titleSort == ext):
|
||||
keep_collection = False
|
||||
break
|
||||
if keep_collection:
|
||||
for ext in value["exclude"]:
|
||||
if col.title == ext or (col.titleSort and col.titleSort == ext):
|
||||
keep_collection = False
|
||||
break
|
||||
if keep_collection:
|
||||
good_collections.append(col.title.lower())
|
||||
|
||||
|
@ -730,6 +731,7 @@ class CollectionBuilder:
|
|||
for i, item in enumerate(all_items, 1):
|
||||
length = util.print_return(length, f"Processing: {i}/{len(all_items)} {item.title}")
|
||||
add_item = True
|
||||
item.reload()
|
||||
for collection in item.collections:
|
||||
if collection.tag.lower() in good_collections:
|
||||
add_item = False
|
||||
|
|
Loading…
Add table
Reference in a new issue