[49] add optional reload

pull/1300/head
meisnate12 2 years ago
parent e457db1b26
commit 44c5da7de1

@ -1 +1 @@
1.18.3-develop48 1.18.3-develop49

@ -79,6 +79,7 @@ class Overlays:
poster = None poster = None
if self.config.Cache: if self.config.Cache:
image, image_compare, overlay_compare = self.config.Cache.query_image_map(item.ratingKey, f"{self.library.image_table_name}_overlays") image, image_compare, overlay_compare = self.config.Cache.query_image_map(item.ratingKey, f"{self.library.image_table_name}_overlays")
self.library.reload(item)
overlay_compare = [] if overlay_compare is None else util.get_list(overlay_compare, split="|") overlay_compare = [] if overlay_compare is None else util.get_list(overlay_compare, split="|")
has_overlay = any([item_tag.tag.lower() == "overlay" for item_tag in self.library.item_labels(item)]) has_overlay = any([item_tag.tag.lower() == "overlay" for item_tag in self.library.item_labels(item)])

Loading…
Cancel
Save