Fall back to "best" for audio conversion when "bestaudio" is not available (fixes #269)
This commit is contained in:
parent
ae7d67557f
commit
09e372175f
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class DownloadController extends BaseController
|
||||||
return $frontController->password($request, $response);
|
return $frontController->password($request, $response);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
// If MP3 is not available, we convert it.
|
// If MP3 is not available, we convert it.
|
||||||
$this->video = $this->video->withFormat('bestaudio');
|
$this->video = $this->video->withFormat('bestaudio/best');
|
||||||
|
|
||||||
return $this->getConvertedAudioResponse($request, $response);
|
return $this->getConvertedAudioResponse($request, $response);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue