[#2] some progress
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user