[57] reload for collectionless

This commit is contained in:
meisnate12 2023-05-12 10:31:06 -04:00
parent 7b740f590f
commit 79d6396fe6
3 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
1.19.0-develop56
1.19.0-develop57

View file

@ -10,7 +10,7 @@ The path types are outlined as follows:
* `- folder:` refers to a directory containing metadata files which is located within the system that PMM is being run from.
* `- url:` refers to a metadata file which is hosted publicly on the internet.
* `- git:` refers to a metadata file which is hosted on the [Configs Repo](https://github.com/meisnate12/Plex-Meta-Manager-Configs).
* `- repo:` refers to a metadata file which is hosted on a custom repository specified aby the user with the [`custom_repo` Setting Attribute](settings.md#custom-repo).
* `- repo:` refers to a metadata file which is hosted on a custom repository specified by the user with the [`custom_repo` Setting Attribute](settings.md#custom-repo).
## YAML Controls

View file

@ -1058,6 +1058,7 @@ class Plex(Library):
for i, item in enumerate(all_items, 1):
logger.ghost(f"Processing: {i}/{len(all_items)} {item.title}")
add_item = True
item = self.reload(item)
for collection in item.collections:
if str(collection.tag).lower() in collection_indexes:
add_item = False