some fixes
This commit is contained in:
@@ -21,3 +21,4 @@ yarn-error.log
|
|||||||
/.nova
|
/.nova
|
||||||
/.vscode
|
/.vscode
|
||||||
/.zed
|
/.zed
|
||||||
|
/storage/*.gz
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ class ItemToFetchJobs extends Model
|
|||||||
self::JOB_RECOMMNDATION,
|
self::JOB_RECOMMNDATION,
|
||||||
self::JOB_REVIEWS,
|
self::JOB_REVIEWS,
|
||||||
self::JOB_LISTS,
|
self::JOB_LISTS,
|
||||||
self::JOB_CHANGES,
|
|
||||||
self::JOB_VIDEOS,
|
self::JOB_VIDEOS,
|
||||||
self::JOB_WATCH_PROVIDERS,
|
self::JOB_WATCH_PROVIDERS,
|
||||||
self::JOB_EXTERNAL_IDS,
|
self::JOB_EXTERNAL_IDS,
|
||||||
|
|||||||
@@ -566,7 +566,7 @@ class MovieProcessingService implements ProcessingInterface
|
|||||||
ItemToFetchJobs::create([
|
ItemToFetchJobs::create([
|
||||||
'tmdb_id' => $item->tmdb_id,
|
'tmdb_id' => $item->tmdb_id,
|
||||||
'type' => ItemToFetch::TYPE_MOVIE,
|
'type' => ItemToFetch::TYPE_MOVIE,
|
||||||
'remaining_jobs' => json_encode($jobs),
|
'jobs' => implode(',', $jobs),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -628,7 +628,6 @@ class MovieProcessingService implements ProcessingInterface
|
|||||||
ItemToFetchJobs::create([
|
ItemToFetchJobs::create([
|
||||||
'tmdb_id' => $tmdbRecommendation['id'],
|
'tmdb_id' => $tmdbRecommendation['id'],
|
||||||
'type' => ItemToFetch::TYPE_MOVIE,
|
'type' => ItemToFetch::TYPE_MOVIE,
|
||||||
'remaining_jobs' => implode(',', $jobs),
|
|
||||||
'jobs' => implode(',', $jobs),
|
'jobs' => implode(',', $jobs),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@@ -694,7 +693,6 @@ class MovieProcessingService implements ProcessingInterface
|
|||||||
ItemToFetchJobs::create([
|
ItemToFetchJobs::create([
|
||||||
'tmdb_id' => $tmdbSimilarMovie['id'],
|
'tmdb_id' => $tmdbSimilarMovie['id'],
|
||||||
'type' => ItemToFetch::TYPE_MOVIE,
|
'type' => ItemToFetch::TYPE_MOVIE,
|
||||||
'remaining_jobs' => implode(',', $jobs),
|
|
||||||
'jobs' => implode(',', $jobs),
|
'jobs' => implode(',', $jobs),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@@ -978,7 +976,6 @@ class MovieProcessingService implements ProcessingInterface
|
|||||||
ItemToFetchJobs::create([
|
ItemToFetchJobs::create([
|
||||||
'tmdb_id' => $tmdbId,
|
'tmdb_id' => $tmdbId,
|
||||||
'type' => ItemToFetch::TYPE_MOVIE,
|
'type' => ItemToFetch::TYPE_MOVIE,
|
||||||
'remaining_jobs' => json_encode($jobs),
|
|
||||||
'jobs' => implode(',', $jobs),
|
'jobs' => implode(',', $jobs),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
@@ -493,7 +493,7 @@ class ShowProcessingService implements ProcessingInterface
|
|||||||
ItemToFetchJobs::create([
|
ItemToFetchJobs::create([
|
||||||
'tmdb_id' => $tmdbRecommendation['id'],
|
'tmdb_id' => $tmdbRecommendation['id'],
|
||||||
'type' => ItemToFetch::TYPE_TV_SERIES,
|
'type' => ItemToFetch::TYPE_TV_SERIES,
|
||||||
'remaining_jobs' => json_encode($jobs),
|
'jobs' => implode(',', $jobs),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->getDetails($itemToFetch);
|
$this->getDetails($itemToFetch);
|
||||||
@@ -553,11 +553,12 @@ class ShowProcessingService implements ProcessingInterface
|
|||||||
|
|
||||||
$jobs = ItemToFetchJobs::JOBS;
|
$jobs = ItemToFetchJobs::JOBS;
|
||||||
$jobs[] = "Details";
|
$jobs[] = "Details";
|
||||||
|
$jobs = array_unique($jobs);
|
||||||
|
|
||||||
ItemToFetchJobs::create([
|
ItemToFetchJobs::create([
|
||||||
'tmdb_id' => $tmdbSimilarMovie['id'],
|
'tmdb_id' => $tmdbSimilarMovie['id'],
|
||||||
'type' => ItemToFetch::TYPE_TV_SERIES,
|
'type' => ItemToFetch::TYPE_TV_SERIES,
|
||||||
'remaining_jobs' => json_encode($jobs),
|
'jobs' => implode(',', $jobs),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->getDetails($itemToFetch);
|
$this->getDetails($itemToFetch);
|
||||||
@@ -852,7 +853,7 @@ class ShowProcessingService implements ProcessingInterface
|
|||||||
ItemToFetchJobs::create([
|
ItemToFetchJobs::create([
|
||||||
'tmdb_id' => $tmdbId,
|
'tmdb_id' => $tmdbId,
|
||||||
'type' => ItemToFetch::TYPE_TV_SERIES,
|
'type' => ItemToFetch::TYPE_TV_SERIES,
|
||||||
'remaining_jobs' => json_encode($jobs),
|
'jobs' => implode(',', $jobs),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $itemToFetch;
|
return $itemToFetch;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user