diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 7622ce9..c28f04f 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -196,7 +196,10 @@ class FrontController ); $chain->add('|', $avconvProc); } - return $response->withBody(new PopenStream($chain->getProcess()->getCommandLine())); + if ($request->isGet()) { + $response = $response->withBody(new PopenStream($chain->getProcess()->getCommandLine())); + } + return $response; } } catch (\Exception $e) { $error = $e->getMessage();