mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
yweb: new version number 2.8.b.4, nhttpd 3.2.4
- add /control/crypt for crypto information - add crypto information to streaminfo git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@482 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -176,6 +176,7 @@ const CControlAPI::TyCgiCall CControlAPI::yCgiCallList[]=
|
||||
{"vcroutput", &CControlAPI::VCROutputCGI, "text/plain"},
|
||||
{"scartmode", &CControlAPI::ScartModeCGI, "text/plain"},
|
||||
{"audio", &CControlAPI::AudioCGI, "text/plain"},
|
||||
{"crypt", &CControlAPI::CryptCGI, "text/plain"},
|
||||
// timer
|
||||
{"timer", &CControlAPI::TimerCGI, "text/plain"},
|
||||
// bouquet editing
|
||||
@@ -781,6 +782,17 @@ void CControlAPI::VolumeCGI(CyhookHandler *hh)
|
||||
hh->SendError();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
void CControlAPI::CryptCGI(CyhookHandler *hh)
|
||||
{
|
||||
if (hh->ParamList.empty() || hh->ParamList["1"] == "info") {
|
||||
hh->printf("%s",(NeutrinoAPI->getCryptInfoAsString()).c_str());
|
||||
return;
|
||||
}
|
||||
//TODO: more
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
void CControlAPI::ChannellistCGI(CyhookHandler *hh)
|
||||
{
|
||||
|
Reference in New Issue
Block a user