allowing for custom youtube-dl options
This commit is contained in:
@@ -40,6 +40,7 @@ class Application extends App
|
||||
$config = [
|
||||
'binary' => $this->settings->setType(Settings::TYPE['SYSTEM'])->get("ncd_yt_binary"),
|
||||
'downloadDir' => $this->getRealDownloadDir(),
|
||||
'settings' => $this->settings->setType(Settings::TYPE['USER'])->getYoutube(),
|
||||
];
|
||||
return new Youtube($config);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user