[6] add reloads

pull/1252/head
meisnate12 2 years ago
parent 4e4c354dee
commit ea2970160a

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

@ -497,6 +497,7 @@ class Operations:
logger.info(self.library.edit_tags("label", item, remove_tags="Overlay", do_print=False)) logger.info(self.library.edit_tags("label", item, remove_tags="Overlay", do_print=False))
else: else:
logger.info("Poster | No Reset Image Found") logger.info("Poster | No Reset Image Found")
item.reload()
if self.library.mass_background_update: if self.library.mass_background_update:
if self.library.mass_background_update == "lock": if self.library.mass_background_update == "lock":
@ -523,6 +524,7 @@ class Operations:
logger.info(f"Background | Reset from {background_location}") logger.info(f"Background | Reset from {background_location}")
else: else:
logger.info(f"Background | No Reset Image Found") logger.info(f"Background | No Reset Image Found")
item.reload()
if self.library.is_show: if self.library.is_show:
real_show = tmdb_item.load_show() if tmdb_item else None 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)) logger.info(self.library.edit_tags("label", season, remove_tags="Overlay", do_print=False))
else: else:
logger.info(f"{season.title} Poster | No Reset Image Found") logger.info(f"{season.title} Poster | No Reset Image Found")
item.reload()
if self.library.mass_background_update: if self.library.mass_background_update:
if self.library.mass_background_update == "lock": if self.library.mass_background_update == "lock":
self.library.query(season.lockArt) 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)) logger.info(self.library.edit_tags("label", episode, remove_tags="Overlay", do_print=False))
else: else:
logger.info(f"{episode.title} Poster | No Reset Image Found") logger.info(f"{episode.title} Poster | No Reset Image Found")
item.reload()
if self.library.mass_background_update: if self.library.mass_background_update:
if self.library.mass_background_update == "lock": if self.library.mass_background_update == "lock":
self.library.query(episode.lockArt) self.library.query(episode.lockArt)
@ -645,6 +649,7 @@ class Operations:
logger.info(f"{episode.title} Background | Reset from {background_location}") logger.info(f"{episode.title} Background | Reset from {background_location}")
else: else:
logger.info(f"{episode.title} Background | No Reset Image Found") 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] episode_ops = [self.library.mass_episode_audience_rating_update, self.library.mass_episode_critic_rating_update, self.library.mass_episode_user_rating_update]

Loading…
Cancel
Save