New tests

This commit is contained in:
Pierre Rudloff 2016-07-30 00:47:46 +02:00
parent 26388ea1b4
commit e3cec201ee
4 changed files with 92 additions and 6 deletions

View file

@ -129,7 +129,7 @@ class FrontController
$response = $response->withHeader('Content-Type', 'audio/mpeg');
if ($request->isGet()) {
$process = $this->download->getConversionProcess($params["url"], 'bestaudio/best');
$process = $this->download->getAudioStream($params["url"], 'bestaudio/best');
$response = $response->withBody(new Stream($process));
}
return $response;