bundled youtube-dl binary;

This commit is contained in:
huangjx
2021-10-22 22:21:27 +08:00
parent 03d1722c07
commit e421fced4f
3 changed files with 2 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
<summary>Aria2 and youtube-dl web gui for nextcloud</summary>
<description>built-in torrent search;Start and stop Aria2 process, manage Aria2 from the web;
Download videos from youtube, twitter and other sites;</description>
<version>0.3.5</version>
<version>0.4.0</version>
<licence>agpl</licence>
<author mail="freefallbenson@gmail.com" homepage="https://github.com/shiningw">jiaxinhuang</author>
<namespace>NCDownloader</namespace>

BIN
bin/youtube-dl Executable file

Binary file not shown.

View File

@@ -30,9 +30,8 @@ class Youtube
if (isset($binary) && @is_executable($binary)) {
$this->bin = $binary;
} else {
$this->bin = Helper::findBinaryPath('youtube-dl');
$this->bin = Helper::findBinaryPath('youtube-dl',__DIR__."/../../bin/youtube-dl");
}
$this->setDownloadDir($downloadDir);
if (!empty($settings)) {
foreach ($settings as $key => $value) {