some progress

This commit is contained in:
2025-09-06 14:41:10 +03:00
parent d709de39dc
commit 7e0e330ef6
20 changed files with 1051 additions and 485 deletions
@@ -22,7 +22,7 @@ class FetchExportItemsCommand extends Command
*
* @var string
*/
protected $description = 'Fetch TMDB items from export file. Types: movie/show';
protected $description = 'Fetch TMDB items from export file. Types: movie/tv_series';
/**
* Execute the console command.
@@ -42,7 +42,7 @@ class FetchExportItemsCommand extends Command
$path = storage_path('/'.$type."*");
$file = glob($path);
return reset($file);
return end($file);
}
private function processItems($gzOpenedFile, string $type)