controlapi: /control/info => return PACKAGE_NAME and PACKAGE_VERSION

Origin commit data
------------------
Commit: 0203de264f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-10 (Fri, 10 Mar 2017)

Origin message was:
------------------
- controlapi: /control/info => return PACKAGE_NAME and PACKAGE_VERSION
This commit is contained in:
vanhofen
2017-03-10 15:36:13 +01:00
parent e96b2f0178
commit 4110492797

View File

@@ -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