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:
@@ -56,7 +56,11 @@ class Aria2Command extends base
|
||||
$this->dbconn->updateStatus($gid, Helper::STATUS[$status]);
|
||||
}
|
||||
if ($action === 'start') {
|
||||
//Helper::log("$gid started");
|
||||
if ($path = $input->getArgument('path')) {
|
||||
$filename = basename($path);
|
||||
$this->dbconn->updateFilename($gid,$filename);
|
||||
}
|
||||
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user