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

This commit is contained in:
svenhoefer
2017-03-10 15:36:13 +01:00
parent ff6046bb56
commit 0203de264f

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