Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b97faeadb |
@@ -274,7 +274,7 @@ class Tmdb
|
|||||||
private function parseEpisode(array $data, string $posterBasePath): TmdbResult
|
private function parseEpisode(array $data, string $posterBasePath): TmdbResult
|
||||||
{
|
{
|
||||||
return new TmdbResult(
|
return new TmdbResult(
|
||||||
imdbId: $data['external_ids']['imdb_id'] ?? $this->getImdbId($data['id'], 'tvshows'),
|
imdbId: $data['external_ids']['imdb_id'],
|
||||||
tmdbId: $data['id'],
|
tmdbId: $data['id'],
|
||||||
title: $data['name'],
|
title: $data['name'],
|
||||||
poster: (null !== $data['still_path']) ? $posterBasePath . $data['still_path'] : null,
|
poster: (null !== $data['still_path']) ? $posterBasePath . $data['still_path'] : null,
|
||||||
|
|||||||
Reference in New Issue
Block a user