added support for updating yt-dlp binary;moved version info display to admin section
This commit is contained in:
@@ -226,4 +226,14 @@ class MainController extends Controller
|
||||
$counter = $this->counters->getCounters();
|
||||
return new JSONResponse(['counter' => $counter]);
|
||||
}
|
||||
|
||||
public function ytdlCheck()
|
||||
{
|
||||
$resp = $this->ytdl->check();
|
||||
return new JSONResponse($resp);
|
||||
}
|
||||
public function ytdlUPdate(){
|
||||
$resp = $this->ytdl->update();
|
||||
return new JSONResponse($resp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user