[49] add optional reload

This commit is contained in:
meisnate12 2023-02-01 11:56:36 -05:00
parent e457db1b26
commit 44c5da7de1
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -79,6 +79,7 @@ class Overlays:
poster = None
if self.config.Cache:
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="|")
has_overlay = any([item_tag.tag.lower() == "overlay" for item_tag in self.library.item_labels(item)])