fix tvdb search: use get method for safe access to image_url and overview

This commit is contained in:
maxid
2026-01-02 11:13:23 +01:00
parent 5f7aa928ed
commit edb2001cdc

View File

@@ -148,8 +148,8 @@ class TvdbMetadataProvider(AbstractMetadataProvider):
formatted_results.append(
MetaDataProviderSearchResult(
poster_path=result["image_url"],
overview=result["overview"],
poster_path=result.get("image_url"),
overview=result.get("overview"),
name=result["name"],
external_id=result["tvdb_id"],
year=year,