From 342a53df455d6f4bcfe230c05eacd182a336f409 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 15 Mar 2023 11:47:59 -0400 Subject: [PATCH] [138] add reload --- VERSION | 2 +- modules/plex.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 335d77b6..2f06d12d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop137 +1.18.3-develop138 diff --git a/modules/plex.py b/modules/plex.py index 7c76d8d8..f8465cc9 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -828,6 +828,7 @@ class Plex(Library): else: locked = True if self.agent in ["tv.plex.agents.movie", "tv.plex.agents.series"]: + item = self.reload(item) field = next((f for f in item.fields if f.name == "collection"), None) locked = field is not None self.query_collection(item, collection, locked=locked, add=add)