From c5ac5112195f709d8be1d32010b4c2b345622c0b Mon Sep 17 00:00:00 2001 From: overflowerror Date: Sat, 23 Jan 2021 17:39:03 +0100 Subject: [PATCH] removed unused function in TranscodeCommand.php --- src/Command/TranscodeCommand.php | 14 -------------- 1 file changed, 14 deletions(-) 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) {