mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- just indentation alignments; no other code changes
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -542,7 +542,6 @@ t_channel_id getepgid(std::string epg_name)
|
|||||||
|
|
||||||
CBouquetManager::ChannelIterator cit = g_bouquetManager->tvChannelsBegin();
|
CBouquetManager::ChannelIterator cit = g_bouquetManager->tvChannelsBegin();
|
||||||
|
|
||||||
// FIXME: Maybe there's a nicer solution
|
|
||||||
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
|
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
|
||||||
{
|
{
|
||||||
if (m == CZapitClient::MODE_RADIO)
|
if (m == CZapitClient::MODE_RADIO)
|
||||||
@@ -565,8 +564,7 @@ t_channel_id getepgid(std::string epg_name)
|
|||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} // for m-loop
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -3249,7 +3249,6 @@ void CControlAPI::xmltvepgCGI(CyhookHandler *hh)
|
|||||||
{
|
{
|
||||||
g_bouquetManager->Bouquets[i]->getTvChannels(chanlist);
|
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 = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
|
||||||
{
|
{
|
||||||
if (m == CZapitClient::MODE_RADIO)
|
if (m == CZapitClient::MODE_RADIO)
|
||||||
@@ -3298,8 +3297,7 @@ void CControlAPI::xmltvepgCGI(CyhookHandler *hh)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} // for m-loop
|
|
||||||
}
|
}
|
||||||
|
|
||||||
result = hh->outObject("tv generator-info-name=\"Neutrino XMLTV Generator v1.0\"", result);
|
result = hh->outObject("tv generator-info-name=\"Neutrino XMLTV Generator v1.0\"", result);
|
||||||
@@ -3342,7 +3340,6 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
|
|||||||
{
|
{
|
||||||
ZapitChannelList chanlist;
|
ZapitChannelList chanlist;
|
||||||
|
|
||||||
// FIXME: Maybe there's a nicer solution
|
|
||||||
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
|
for (int m = CZapitClient::MODE_TV; m < CZapitClient::MODE_ALL; m++)
|
||||||
{
|
{
|
||||||
if (mode == CZapitClient::MODE_RADIO || m == CZapitClient::MODE_RADIO)
|
if (mode == CZapitClient::MODE_RADIO || m == CZapitClient::MODE_RADIO)
|
||||||
@@ -3376,7 +3373,7 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
|
|||||||
|
|
||||||
if (mode != CZapitClient::MODE_ALL)
|
if (mode != CZapitClient::MODE_ALL)
|
||||||
break;
|
break;
|
||||||
} // for m-loop
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hh->SendResult(result);
|
hh->SendResult(result);
|
||||||
|
Reference in New Issue
Block a user