mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
CControlAPI::GetBouquetsCGI: -add TV/RADDIO mode selectable (THX martii)
This commit is contained in:
@@ -1093,6 +1093,11 @@ void CControlAPI::GetBouquetsCGI(CyhookHandler *hh) {
|
|||||||
fav = true;
|
fav = true;
|
||||||
|
|
||||||
int mode = NeutrinoAPI->Zapit->getMode();
|
int mode = NeutrinoAPI->Zapit->getMode();
|
||||||
|
if (hh->ParamList["mode"].compare("TV") == 0)
|
||||||
|
mode = CZapitClient::MODE_TV;
|
||||||
|
else if (hh->ParamList["mode"].compare("RADIO") == 0)
|
||||||
|
mode = CZapitClient::MODE_RADIO;
|
||||||
|
|
||||||
std::string bouquet;
|
std::string bouquet;
|
||||||
for (int i = 0, size = (int) g_bouquetManager->Bouquets.size(); i < size; i++) {
|
for (int i = 0, size = (int) g_bouquetManager->Bouquets.size(); i < size; i++) {
|
||||||
std::string item = "";
|
std::string item = "";
|
||||||
|
Reference in New Issue
Block a user