diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index 0ae8be66b..7c37fdeef 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -34,6 +34,7 @@ #include #include #include "gui/plugins.h"//for relodplugins +#include // yhttpd #include "yhttpd.h" #include "ytypes_globals.h" @@ -440,11 +441,9 @@ void CControlAPI::StandbyCGI(CyhookHandler *hh) hh->SendError(); } else -#if HAVE_DBOX2 // FIXME: not implemented - if(NeutrinoAPI->Controld->getVideoPowerDown()) + if(CNeutrinoApp::getInstance()->getMode() == 4)//mode_standby = 4 hh->WriteLn("on"); else -#endif hh->WriteLn("off"); }