feat: Add path to "Can't find avconv" error

See #109
This commit is contained in:
Pierre Rudloff 2018-02-21 18:55:12 +01:00
parent a8cd915f01
commit 003452909a
2 changed files with 22 additions and 22 deletions

View file

@ -270,7 +270,7 @@ class VideoDownload
private function getAvconvProcess(stdClass $video, $audioBitrate, $filetype = 'mp3', $audioOnly = true)
{
if (!$this->checkCommand([$this->config->avconv, '-version'])) {
throw new Exception(_('Can\'t find avconv or ffmpeg.'));
throw new Exception(_('Can\'t find avconv or ffmpeg at ').$this->config->avconv.'.');
}
if ($video->protocol == 'rtmp') {
@ -353,7 +353,7 @@ class VideoDownload
public function getM3uStream(stdClass $video)
{
if (!$this->checkCommand([$this->config->avconv, '-version'])) {
throw new Exception(_('Can\'t find avconv or ffmpeg.'));
throw new Exception(_('Can\'t find avconv or ffmpeg at ').$this->config->avconv.'.');
}
$process = new Process(