Use bestaudio (if available) to speedup conversions

This commit is contained in:
Pierre Rudloff 2016-05-04 16:26:47 +02:00
parent c3237251da
commit 59291b4b8c

View file

@ -122,7 +122,7 @@ class FrontController
$url = $this->download->getURL($params["url"], 'mp3[protocol^=http]');
return $response->withRedirect($url);
} catch (\Exception $e) {
$video = $this->download->getJSON($params["url"], 'best');
$video = $this->download->getJSON($params["url"], 'bestaudio/best');
$avconvProc = ProcessBuilder::create(
array(