removed unused function in TranscodeCommand.php

This commit is contained in:
overflowerror 2021-01-23 17:39:03 +01:00
parent 1f6a0f7adc
commit c5ac511219

View file

@ -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) {