Fix season artwork fetch on tvdb

This commit is contained in:
Zoe Roux 2024-05-14 02:52:20 +02:00
parent 6af791ca72
commit d0a7d5766e
No known key found for this signature in database

View File

@ -387,13 +387,13 @@ class TVDB(Provider):
overview=data["data"]["overview"],
posters=[
i["image"]
for i in data["data"]["artworks"]
for i in info["data"]["artworks"]
if i["type"] == 7
and (i["language"] == lang or i["language"] is None)
],
thumbnails=[
i["image"]
for i in data["data"]["artworks"]
for i in info["data"]["artworks"]
if i["type"] == 8
and (i["language"] == lang or i["language"] is None)
],