[#8] fix for keywords processing

This commit is contained in:
2024-12-31 03:39:06 +02:00
parent 02009132a4
commit 54f027a730
3 changed files with 22 additions and 17 deletions
+4 -1
View File
@@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
class Keyword extends Model class Keyword extends Model
{ {
// protected $fillable = [
'tmdb_id',
'name',
];
} }
@@ -9,4 +9,6 @@ class ShowProcessingService implements ProcessingInterface
{ {
// TODO: Implement process() method. // TODO: Implement process() method.
} }
} }
+16 -16
View File
@@ -15,23 +15,23 @@ Artisan::command('inspire', function () {
Schedule::command(FetchExportCommand::class, ['movies'])->weeklyOn(6, '8:00'); Schedule::command(FetchExportCommand::class, ['movies'])->weeklyOn(6, '8:00');
Schedule::command(FetchExportCommand::class, ['tv_series'])->weeklyOn(6, '9:00'); Schedule::command(FetchExportCommand::class, ['tv_series'])->weeklyOn(6, '9:00');
Schedule::command(FetchExportItemsCommand::class, ['movie'])->twiceDaily(17,19); Schedule::command(FetchItemDataCommand::class, ['movie'])->twiceDaily(17,19);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'AlternativeTitles'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'AlternativeTitles'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Credits'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Credits'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Images'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Images'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Keywords'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Keywords'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Releases'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Releases'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Translations'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Translations'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Similar'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Similar'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Recommendations'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Recommendations'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Reviews'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Reviews'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Lists'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Lists'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Changes'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Changes'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'Videos'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'Videos'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'WatchProviders'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'WatchProviders'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['movie', '50', 'ExternalIds'])->twiceDaily(14,23); Schedule::command(FetchItemDataCommand::class, ['movie', '50', 'ExternalIds'])->twiceDaily(14,23);
Schedule::command(FetchExportItemsCommand::class, ['tv_series'])->twiceDaily(17,19); Schedule::command(FetchItemDataCommand::class, ['tv_series'])->twiceDaily(17,19);
// fetch items data // fetch items data