[6] add reloads

This commit is contained in:
meisnate12 2022-12-27 10:06:52 -05:00
parent 4e4c354dee
commit ea2970160a
2 changed files with 6 additions and 1 deletions

View file

@ -1 +1 @@
1.18.1-develop5
1.18.1-develop6

View file

@ -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]