some fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user