mirror of
https://github.com/sigmasternchen/MyTube
synced 2025-03-15 21:08:55 +00:00
removed unused function in TranscodeCommand.php
This commit is contained in:
parent
1f6a0f7adc
commit
c5ac511219
1 changed files with 0 additions and 14 deletions
|
@ -7,7 +7,6 @@ use App\Service\VideoService;
|
|||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Process\Process;
|
||||
|
||||
class TranscodeCommand extends Command
|
||||
{
|
||||
|
@ -32,19 +31,6 @@ class TranscodeCommand extends Command
|
|||
$this->setDescription("starts transcode process");
|
||||
}
|
||||
|
||||
private function callScript($name, $_arguments): bool
|
||||
{
|
||||
$arguments = ["./scripts/" . $name];
|
||||
$arguments = array_merge($arguments, $_arguments);
|
||||
|
||||
$process = new Process($arguments);
|
||||
$process->setWorkingDirectory("./");
|
||||
$process->setTimeout(null);
|
||||
$process->run();
|
||||
|
||||
return $process->isSuccessful();
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
while (true) {
|
||||
|
|
Loading…
Reference in a new issue