controlapi.cpp: add getubouquetsxml

This commit is contained in:
Jacek Jendrzej
2015-05-10 18:01:26 +02:00
parent 95a27ebb31
commit 11eac1f091
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