[56] update anime id matching

pull/1429/head
meisnate12 2 years ago
parent 139555bf63
commit 7b740f590f

@ -1 +1 @@
1.19.0-develop55
1.19.0-develop56

@ -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):

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

Loading…
Cancel
Save