fixed #52;create a new entry for each file when downloading a youtube-dl playlist;

This commit is contained in:
huangjx
2022-04-28 18:21:14 +08:00
parent 32b6484596
commit 015be9e3c9
2 changed files with 86 additions and 70 deletions

View File

@@ -141,7 +141,6 @@ class Youtube
$this->setOption("--output", $this->downloadDir . "/" . $this->outTpl);
$this->setUrl($url);
$this->prependOption($this->bin);
//\OC::$server->getLogger()->error($process->getCommandLine(), ['app' => 'PHP']);
$process = new Process($this->options, null, $this->env);
$process->setTimeout($this->timeout);
$data = ['link' => $url];