mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
- webradio-setup/controlapi: get webradio via xmltv
Conflicts: src/nhttpd/tuxboxapi/controlapi.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -3247,12 +3247,12 @@ void CControlAPI::xmltvepgCGI(CyhookHandler *hh)
|
||||
|
||||
for (int i = 0; i < (int) g_bouquetManager->Bouquets.size(); i++)
|
||||
{
|
||||
g_bouquetManager->Bouquets[i]->getTvChannels(chanlist);
|
||||
|
||||
// FIXME: Maybe there's a nicer solution
|
||||
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
|
||||
for (int m = 0; m < 2; m++)
|
||||
{
|
||||
if (m == CZapitClient::MODE_RADIO)
|
||||
if (m == 0)
|
||||
g_bouquetManager->Bouquets[i]->getTvChannels(chanlist);
|
||||
else
|
||||
g_bouquetManager->Bouquets[i]->getRadioChannels(chanlist);
|
||||
|
||||
if(!chanlist.empty() && !g_bouquetManager->Bouquets[i]->bHidden && g_bouquetManager->Bouquets[i]->bUser)
|
||||
|
Reference in New Issue
Block a user