From 7b740f590fb6a42844b3ec5267b372a1fb895620 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 11 May 2023 11:51:55 -0400 Subject: [PATCH] [56] update anime id matching --- VERSION | 2 +- modules/convert.py | 2 +- modules/mal.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index c1695e36..202d66cf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop55 +1.19.0-develop56 diff --git a/modules/convert.py b/modules/convert.py index 5ee9baa7..c92bbeb3 100644 --- a/modules/convert.py +++ b/modules/convert.py @@ -35,7 +35,7 @@ class Convert: self._imdb_to_anidb[im_id] = anidb_id if "tvdb_id" in ids: self._anidb_to_tvdb[anidb_id] = int(ids["tvdb_id"]) - if "tvdb_season" in ids and ids["tvdb_season"] == 1: + if "tvdb_season" in ids and ids["tvdb_season"] in [1, -1] and ids["tvdb_epoffset"] == 0: self._tvdb_to_anidb[int(ids["tvdb_id"])] = anidb_id def imdb_to_anidb(self, imdb_id): diff --git a/modules/mal.py b/modules/mal.py index 8f0ae17b..7355b780 100644 --- a/modules/mal.py +++ b/modules/mal.py @@ -94,7 +94,7 @@ class MyAnimeList: self._authorization() except Exception: logger.stacktrace() - raise Failed("Tautulli Error: Failed to Connect") + raise Failed("MyAnimeList Error: Failed to Connect") self._genres = {} self._studios = {} self._delay = None