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


Origin commit data
------------------
Branch: ni/coolstream
Commit: fd6d98d1f7
Author: yjogol <yjogol2@online.de>
Date: 2010-03-01 (Mon, 01 Mar 2010)



------------------
This commit was generated by Migit
This commit is contained in:
yjogol
2010-03-01 06:27:20 +00:00
parent d02afd8a50
commit 64d6183f71

View File

@@ -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() );