some fixes

This commit is contained in:
Doar Mihai
2026-03-08 14:07:50 +02:00
parent 5792fde58f
commit 5689105551
8 changed files with 6 additions and 8 deletions
@@ -493,7 +493,7 @@ class ShowProcessingService implements ProcessingInterface
ItemToFetchJobs::create([
'tmdb_id' => $tmdbRecommendation['id'],
'type' => ItemToFetch::TYPE_TV_SERIES,
'remaining_jobs' => json_encode($jobs),
'jobs' => implode(',', $jobs),
]);
$this->getDetails($itemToFetch);
@@ -553,11 +553,12 @@ class ShowProcessingService implements ProcessingInterface
$jobs = ItemToFetchJobs::JOBS;
$jobs[] = "Details";
$jobs = array_unique($jobs);
ItemToFetchJobs::create([
'tmdb_id' => $tmdbSimilarMovie['id'],
'type' => ItemToFetch::TYPE_TV_SERIES,
'remaining_jobs' => json_encode($jobs),
'jobs' => implode(',', $jobs),
]);
$this->getDetails($itemToFetch);
@@ -852,7 +853,7 @@ class ShowProcessingService implements ProcessingInterface
ItemToFetchJobs::create([
'tmdb_id' => $tmdbId,
'type' => ItemToFetch::TYPE_TV_SERIES,
'remaining_jobs' => json_encode($jobs),
'jobs' => implode(',', $jobs),
]);
return $itemToFetch;