[138] add reload

pull/1344/head
meisnate12 2 years ago
parent 4039884ce9
commit 342a53df45

@ -1 +1 @@
1.18.3-develop137 1.18.3-develop138

@ -828,6 +828,7 @@ class Plex(Library):
else: else:
locked = True locked = True
if self.agent in ["tv.plex.agents.movie", "tv.plex.agents.series"]: 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) field = next((f for f in item.fields if f.name == "collection"), None)
locked = field is not None locked = field is not None
self.query_collection(item, collection, locked=locked, add=add) self.query_collection(item, collection, locked=locked, add=add)

Loading…
Cancel
Save