From ea2970160a1806c4c728d1a863ce961f2fdb054c Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 27 Dec 2022 10:06:52 -0500 Subject: [PATCH] [6] add reloads --- VERSION | 2 +- modules/operations.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 20194f55..5b9513eb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.1-develop5 +1.18.1-develop6 diff --git a/modules/operations.py b/modules/operations.py index e5212743..27546e39 100644 --- a/modules/operations.py +++ b/modules/operations.py @@ -497,6 +497,7 @@ class Operations: logger.info(self.library.edit_tags("label", item, remove_tags="Overlay", do_print=False)) else: logger.info("Poster | No Reset Image Found") + item.reload() if self.library.mass_background_update: if self.library.mass_background_update == "lock": @@ -523,6 +524,7 @@ class Operations: logger.info(f"Background | Reset from {background_location}") else: logger.info(f"Background | No Reset Image Found") + item.reload() if self.library.is_show: real_show = tmdb_item.load_show() if tmdb_item else None @@ -561,6 +563,7 @@ class Operations: logger.info(self.library.edit_tags("label", season, remove_tags="Overlay", do_print=False)) else: logger.info(f"{season.title} Poster | No Reset Image Found") + item.reload() if self.library.mass_background_update: if self.library.mass_background_update == "lock": self.library.query(season.lockArt) @@ -624,6 +627,7 @@ class Operations: logger.info(self.library.edit_tags("label", episode, remove_tags="Overlay", do_print=False)) else: logger.info(f"{episode.title} Poster | No Reset Image Found") + item.reload() if self.library.mass_background_update: if self.library.mass_background_update == "lock": self.library.query(episode.lockArt) @@ -645,6 +649,7 @@ class Operations: logger.info(f"{episode.title} Background | Reset from {background_location}") else: logger.info(f"{episode.title} Background | No Reset Image Found") + item.reload() episode_ops = [self.library.mass_episode_audience_rating_update, self.library.mass_episode_critic_rating_update, self.library.mass_episode_user_rating_update]