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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user