mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
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
This commit is contained in:
@@ -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() );
|
||||
|
Reference in New Issue
Block a user