diff --git a/src/nhttpd/tuxboxapi/controlapi.cpp b/src/nhttpd/tuxboxapi/controlapi.cpp index cfd6839fc..247cb64ad 100644 --- a/src/nhttpd/tuxboxapi/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/controlapi.cpp @@ -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 diff --git a/src/nhttpd/tuxboxapi/controlapi.h b/src/nhttpd/tuxboxapi/controlapi.h index de9947799..0aa01b81d 100644 --- a/src/nhttpd/tuxboxapi/controlapi.h +++ b/src/nhttpd/tuxboxapi/controlapi.h @@ -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);