From 3d2e8370228a43df804f721ace1ee674d0d6ce76 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 9 May 2024 03:53:05 +0200 Subject: [PATCH] Add tvdb show aliases --- scanner/providers/implementations/thetvdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/providers/implementations/thetvdb.py b/scanner/providers/implementations/thetvdb.py index fd2f78a9..fb106374 100644 --- a/scanner/providers/implementations/thetvdb.py +++ b/scanner/providers/implementations/thetvdb.py @@ -276,7 +276,7 @@ class TVDB(Provider): } return Show( original_language=ret["originalLanguage"], - aliases=[], + aliases=[x["name"] for x in ret["aliases"]], start_air=datetime.strptime(ret["firstAired"], "%Y-%m-%d").date(), end_air=datetime.strptime(ret["lastAired"], "%Y-%m-%d").date(), status=ShowStatus.FINISHED