Compare commits

...

1 Commits

Author SHA1 Message Date
4b97faeadb fix: error querying tmdb 2025-06-19 19:30:28 -05:00

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,