[#2] some progress

This commit is contained in:
2025-01-09 16:01:38 +02:00
parent 300c2574ea
commit bbd082fd8f
11 changed files with 265 additions and 8 deletions
@@ -70,11 +70,17 @@ class FetchExportItemsCommand extends Command
if ($movie) {
return;
}
$jobs = ItemToFetchJobs::MOVIE_JOBS;
$jobs[] = "Details";
} else {
$show = Show::where('tmdb_id', $decodedLine['id'])->first();
if ($show) {
return;
}
$jobs = ItemToFetchJobs::SHOW_JOBS;
$jobs[] = "Details";
}
ItemToFetch::create([
@@ -82,8 +88,8 @@ class FetchExportItemsCommand extends Command
'type' => $type,
]);
$jobs = ItemToFetchJobs::JOBS;
$jobs[] = "Details";
// $jobs = ItemToFetchJobs::JOBS;
// $jobs[] = "Details";
ItemToFetchJobs::create([
'tmdb_id' => $decodedLine['id'],