some progress
This commit is contained in:
@@ -58,7 +58,12 @@ class FetchItemDataCommand extends Command
|
||||
{
|
||||
switch ($type){
|
||||
case ItemToFetch::TYPE_MOVIE:
|
||||
return MovieProcessingService::getBatch($batch, $job);
|
||||
$items = MovieProcessingService::getBatch($batch, $job);
|
||||
|
||||
if ($items->count() == 0){
|
||||
$items = MovieProcessingService::getMissingMoviesBatch($batch, $job);
|
||||
}
|
||||
return $items;
|
||||
case ItemToFetch::TYPE_TV_SERIES:
|
||||
return ShowProcessingService::getBatch($batch, $job, $tmdbId);
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ class FetchExportItemsCommand extends Command
|
||||
if (null === $decodedLine) {
|
||||
continue;
|
||||
}
|
||||
|
||||
echo '.';
|
||||
$this->processItem($decodedLine, $type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user