diff --git a/VERSION b/VERSION index f4129e24..790fdc6f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop44 +1.19.0-develop45 diff --git a/modules/mal.py b/modules/mal.py index 282f7519..8f0ae17b 100644 --- a/modules/mal.py +++ b/modules/mal.py @@ -88,9 +88,13 @@ class MyAnimeList: self.expiration = params["cache_expiration"] self.authorization = params["authorization"] logger.secret(self.client_secret) - if not self._save(self.authorization): - if not self._refresh(): - self._authorization() + try: + if not self._save(self.authorization): + if not self._refresh(): + self._authorization() + except Exception: + logger.stacktrace() + raise Failed("Tautulli Error: Failed to Connect") self._genres = {} self._studios = {} self._delay = None diff --git a/modules/overlays.py b/modules/overlays.py index 1bed655e..c63153cb 100644 --- a/modules/overlays.py +++ b/modules/overlays.py @@ -151,6 +151,7 @@ class Overlays: has_original = None new_backup = None + changed_image = False if poster: if image_compare and str(poster.compare) != str(image_compare): changed_image = True @@ -185,7 +186,7 @@ class Overlays: poster_compare = None if poster is None and has_original is None: logger.error(f" Overlay Error: No poster found") - elif self.library.reapply_overlays or new_backup or overlay_change: + elif self.library.reapply_overlays or new_backup or overlay_change or changed_image: try: if not self.library.reapply_overlays and new_backup: logger.trace(" Overlay Reason: New image detected") diff --git a/modules/tautulli.py b/modules/tautulli.py index 89e7aa8d..ca3f2867 100644 --- a/modules/tautulli.py +++ b/modules/tautulli.py @@ -20,7 +20,7 @@ class Tautulli: response = self._request("get_tautulli_info") except Exception: logger.stacktrace() - raise Failed("Tautulli Error: Invalid url") + raise Failed("Tautulli Error: Invalid URL") if response["response"]["result"] != "success": raise Failed(f"Tautulli Error: {response['response']['message']}") self.has_section = True if int(response["response"]["data"]["tautulli_version"].split(".")[1]) > 11 else False