fix: error querying tmdb

This commit is contained in:
2025-06-19 19:30:28 -05:00
parent 3701e31ee0
commit 4b97faeadb

View File

@@ -274,7 +274,7 @@ class Tmdb
private function parseEpisode(array $data, string $posterBasePath): TmdbResult
{
return new TmdbResult(
imdbId: $data['external_ids']['imdb_id'] ?? $this->getImdbId($data['id'], 'tvshows'),
imdbId: $data['external_ids']['imdb_id'],
tmdbId: $data['id'],
title: $data['name'],
poster: (null !== $data['still_path']) ? $posterBasePath . $data['still_path'] : null,