mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
nhttpd:-fix standby info
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2172 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
#include <cs_api.h>
|
#include <cs_api.h>
|
||||||
#include <global.h>
|
#include <global.h>
|
||||||
#include "gui/plugins.h"//for relodplugins
|
#include "gui/plugins.h"//for relodplugins
|
||||||
|
#include <neutrino.h>
|
||||||
// yhttpd
|
// yhttpd
|
||||||
#include "yhttpd.h"
|
#include "yhttpd.h"
|
||||||
#include "ytypes_globals.h"
|
#include "ytypes_globals.h"
|
||||||
@@ -440,11 +441,9 @@ void CControlAPI::StandbyCGI(CyhookHandler *hh)
|
|||||||
hh->SendError();
|
hh->SendError();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#if HAVE_DBOX2 // FIXME: not implemented
|
if(CNeutrinoApp::getInstance()->getMode() == 4)//mode_standby = 4
|
||||||
if(NeutrinoAPI->Controld->getVideoPowerDown())
|
|
||||||
hh->WriteLn("on");
|
hh->WriteLn("on");
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
hh->WriteLn("off");
|
hh->WriteLn("off");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user