diff --git a/src/Command/TranscodeCommand.php b/src/Command/TranscodeCommand.php index e691a94..dc6c8f9 100644 --- a/src/Command/TranscodeCommand.php +++ b/src/Command/TranscodeCommand.php @@ -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) {