Downloading files, calculating video size.

This commit is contained in:
Krzysztof Płaczek
2022-11-17 11:38:20 +01:00
parent 2c62880282
commit 55c104629f
9 changed files with 77 additions and 23 deletions

View File

@@ -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));
}
}