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
+1
View File
@@ -21,3 +21,4 @@ yarn-error.log
/.nova
/.vscode
/.zed
/storage/*.gz
-1
View File
@@ -36,7 +36,6 @@ class ItemToFetchJobs extends Model
self::JOB_RECOMMNDATION,
self::JOB_REVIEWS,
self::JOB_LISTS,
self::JOB_CHANGES,
self::JOB_VIDEOS,
self::JOB_WATCH_PROVIDERS,
self::JOB_EXTERNAL_IDS,
@@ -566,7 +566,7 @@ class MovieProcessingService implements ProcessingInterface
ItemToFetchJobs::create([
'tmdb_id' => $item->tmdb_id,
'type' => ItemToFetch::TYPE_MOVIE,
'remaining_jobs' => json_encode($jobs),
'jobs' => implode(',', $jobs),
]);
}
@@ -628,7 +628,6 @@ class MovieProcessingService implements ProcessingInterface
ItemToFetchJobs::create([
'tmdb_id' => $tmdbRecommendation['id'],
'type' => ItemToFetch::TYPE_MOVIE,
'remaining_jobs' => implode(',', $jobs),
'jobs' => implode(',', $jobs),
]);
@@ -694,7 +693,6 @@ class MovieProcessingService implements ProcessingInterface
ItemToFetchJobs::create([
'tmdb_id' => $tmdbSimilarMovie['id'],
'type' => ItemToFetch::TYPE_MOVIE,
'remaining_jobs' => implode(',', $jobs),
'jobs' => implode(',', $jobs),
]);
@@ -978,7 +976,6 @@ class MovieProcessingService implements ProcessingInterface
ItemToFetchJobs::create([
'tmdb_id' => $tmdbId,
'type' => ItemToFetch::TYPE_MOVIE,
'remaining_jobs' => json_encode($jobs),
'jobs' => implode(',', $jobs),
]);
@@ -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;
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.