fixed the issue of not returning the default provided value when finding binary path

This commit is contained in:
huangjx
2021-12-13 17:46:28 +08:00
parent 19b2b5739b
commit a1c6be039e
3 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ class Youtube
if (Helper::ffmpegInstalled()) {
$this->addOption('--prefer-ffmpeg');
$this->addOption('--add-metadata');
$this->setOption('--metadata-from-title',"%(artist)s-%(title)s");
$this->setOption('--metadata-from-title', "%(artist)s-%(title)s");
$this->addOption('--extract-audio');
}
$this->outTpl = "/%(id)s-%(title)s.m4a";