Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e130c3490 | |||
| 4b97faeadb |
@@ -11,7 +11,7 @@ framework:
|
|||||||
trusted_headers: [ 'x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix' ]
|
trusted_headers: [ 'x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix' ]
|
||||||
|
|
||||||
session:
|
session:
|
||||||
handler_id: Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
|
handler_id: '%env(REDIS_HOST)%'
|
||||||
|
|
||||||
#esi: true
|
#esi: true
|
||||||
#fragments: true
|
#fragments: true
|
||||||
|
|||||||
@@ -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