added aria2 start hook script to update file without a proper name;increased filename column to 50%;fixed minor issue in ripping audio
This commit is contained in:
@@ -50,6 +50,7 @@ class Aria2
|
||||
}
|
||||
$this->php = Helper::findBinaryPath('php');
|
||||
$this->completeHook = $completeHook;
|
||||
$this->startHook = $startHook;
|
||||
$this->rpcUrl = sprintf("http://%s:%s/jsonrpc", $host, $port);
|
||||
$this->tokenString = $token ?? 'ncdownloader123';
|
||||
$this->setToken($this->tokenString);
|
||||
@@ -311,6 +312,7 @@ class Aria2
|
||||
'--max-concurrent-downloads=10',
|
||||
'--check-certificate=false',
|
||||
'--on-download-complete=' . $this->completeHook,
|
||||
'--on-download-start=' . $this->startHook,
|
||||
];
|
||||
}
|
||||
public function start($bin = null)
|
||||
|
||||
Reference in New Issue
Block a user