controlapi.cpp: add getubouquetsxml

Origin commit data
------------------
Branch: ni/coolstream
Commit: 11eac1f091
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-05-10 (Sun, 10 May 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-05-10 18:01:26 +02:00
parent 84d05b6a93
commit 93e7f3b575
2 changed files with 9 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ const CControlAPI::TyCgiCall CControlAPI::yCgiCallList[]=
// channel & bouquet & epg & zapping handling
{"getservicesxml", &CControlAPI::GetServicesxmlCGI,""},
{"getbouquetsxml", &CControlAPI::GetBouquetsxmlCGI,""},
{"getubouquetsxml", &CControlAPI::GetUBouquetsxmlCGI,""},
{"channellist", &CControlAPI::ChannellistCGI, "text/plain"},
{"logolist", &CControlAPI::LogolistCGI, "text/plain"},
{"getbouquet", &CControlAPI::GetBouquetCGI, "+xml"},
@@ -567,6 +568,13 @@ void CControlAPI::GetBouquetsxmlCGI(CyhookHandler *hh)
{
hh->SendFile(CONFIGDIR "/zapit/bouquets.xml");
}
//-----------------------------------------------------------------------------
// send ubouquets.xml
void CControlAPI::GetUBouquetsxmlCGI(CyhookHandler *hh)
{
hh->SendFile(CONFIGDIR "/zapit/ubouquets.xml");
}
//-----------------------------------------------------------------------------
// get actual channel_id

View File

@@ -70,6 +70,7 @@ private:
void GetTimeCGI(CyhookHandler *hh);
void GetServicesxmlCGI(CyhookHandler *hh);
void GetBouquetsxmlCGI(CyhookHandler *hh);
void GetUBouquetsxmlCGI(CyhookHandler *hh);
void GetChannel_IDCGI(CyhookHandler *hh);
void GetTPChannel_IDCGI(CyhookHandler *hh);
void MessageCGI(CyhookHandler *hh);