fixed locale issue for youtube-dl;updated regex rules for matching filename

This commit is contained in:
huangjx
2021-09-15 13:18:19 +08:00
parent 2e834d4f9c
commit 7427f395f5
4 changed files with 18 additions and 13 deletions

View File

@@ -54,14 +54,10 @@ class Aria2Controller extends Controller
case "start":
$resp = $this->Start();
break;
case "pause":
$resp = $this->doAction('pause', $gid);
break;
case "remove":
$resp = $this->doAction('remove', $gid);
break;
case "unpause":
$resp = $this->doAction('unpause', $gid);
case "remove":
case "pause":
$resp = $this->doAction($path, $gid);
break;
case "get":
$resp = $this->doAction('tellStatus', $gid);