Add tvdb show aliases

This commit is contained in:
Zoe Roux 2024-05-09 03:53:05 +02:00
parent 740703a845
commit 3d2e837022
No known key found for this signature in database

View File

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