This commit is contained in:
2025-02-10 01:58:12 +02:00
parent 25d99e7b72
commit 87bbfc33d3
242 changed files with 38662 additions and 99 deletions
@@ -17,9 +17,9 @@ class FactoryService
$this->showProcessingService = $showProcessingService;
}
public function process($item, string $job)
public function process($item, string $job, $type)
{
switch ($item->type) {
switch ($type) {
case ItemToFetch::TYPE_MOVIE:
return $this->movieProcessingService->process($item, $job);
case ItemToFetch::TYPE_TV_SERIES: