From fd6d98d1f7c0fd5cfd16750049dfce0ec8d2d4ed Mon Sep 17 00:00:00 2001 From: yjogol Date: Mon, 1 Mar 2010 06:27:20 +0000 Subject: [PATCH] yweb: can now determine status of audio mute (ybug 448) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@440 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/nhttpd/tuxboxapi/coolstream/controlapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index a164942ae..ff0130105 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -747,7 +747,7 @@ void CControlAPI::VolumeCGI(CyhookHandler *hh) hh->SendOk(); } else if (hh->ParamList["1"].compare("status") == 0) { // Mute status - hh->Write("1"); //FIXME coolstream implemented? + (NeutrinoAPI->Zapit->getMuteStatus()) ? hh->Write("1") : hh->Write("0"); } else if(hh->ParamList["1"]!="") { //set volume char vol = atol( hh->ParamList["1"].c_str() );