mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- controlapi: /control/info => return PACKAGE_NAME and PACKAGE_VERSION
This commit is contained in:
@@ -786,7 +786,7 @@ void CControlAPI::MessageCGI(CyhookHandler *hh)
|
||||
void CControlAPI::InfoCGI(CyhookHandler *hh)
|
||||
{
|
||||
if (hh->ParamList.empty())
|
||||
hh->Write("Tuxbox-Neutrino\n");
|
||||
hh->Write(PACKAGE_NAME " " PACKAGE_VERSION "\n");
|
||||
else
|
||||
{
|
||||
if (hh->ParamList["1"] == "streaminfo") // print streaminfo
|
||||
|
Reference in New Issue
Block a user