bundled youtube-dl binary;
This commit is contained in:
@@ -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
BIN
bin/youtube-dl
Executable file
Binary file not shown.
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user