Downloading files, calculating video size.
This commit is contained in:
@@ -17,11 +17,10 @@ class DownloadVideoFile implements ShouldQueue
|
||||
|
||||
public function __construct(private int $chapterId)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
public function handle(SymfonyCastDlService $symfonyCastDlService)
|
||||
{
|
||||
$symfonyCastDlService->videoSize(Chapter::find($this->chapterId));
|
||||
$symfonyCastDlService->downloadFile(Chapter::find($this->chapterId));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Http\SymfonyCastDl\HtmlParser;
|
||||
use App\Http\SymfonyCastDl\SymfonyCastDlService;
|
||||
use App\Models\Chapter;
|
||||
use Illuminate\Bus\Queueable;
|
||||
|
||||
Reference in New Issue
Block a user