fix: tmdb episode details failing from missing imdb id

This commit is contained in:
2025-09-18 18:58:43 -05:00
parent c8e190f9e8
commit deb0333635
3 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ class GetTvShowOptionsHandler implements HandlerInterface
public function handle(CommandInterface $command): ResultInterface
{
$media = $this->tmdb->tvEpisodeDetails($command->tmdbId, $command->season, $command->episode);
$media = $this->tmdb->tvEpisodeDetails($command->tmdbId, $command->imdbId, $command->season, $command->episode);
$parentShow = $this->tmdb->tvshowDetails($command->imdbId);
$file = $this->mediaFiles->episodeExists($parentShow->title, $command->season, $command->episode);