mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
fix ChannelList format
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@934 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1389,7 +1389,7 @@ void CControlAPI::SendEventList(CyhookHandler *hh, t_channel_id channel_id)
|
|||||||
void CControlAPI::SendChannelList(CyhookHandler *hh)
|
void CControlAPI::SendChannelList(CyhookHandler *hh)
|
||||||
{
|
{
|
||||||
int mode = NeutrinoAPI->Zapit->getMode();
|
int mode = NeutrinoAPI->Zapit->getMode();
|
||||||
hh->SetHeader(HTTP_OK, "text/html; charset=UTF-8");
|
hh->SetHeader(HTTP_OK, "text/plain; charset=UTF-8");
|
||||||
CBouquetManager::ChannelIterator cit = mode == CZapitClient::MODE_RADIO ? g_bouquetManager->radioChannelsBegin() : g_bouquetManager->tvChannelsBegin();
|
CBouquetManager::ChannelIterator cit = mode == CZapitClient::MODE_RADIO ? g_bouquetManager->radioChannelsBegin() : g_bouquetManager->tvChannelsBegin();
|
||||||
for (; !(cit.EndOfChannels()); cit++) {
|
for (; !(cit.EndOfChannels()); cit++) {
|
||||||
CZapitChannel * channel = *cit;
|
CZapitChannel * channel = *cit;
|
||||||
|
Reference in New Issue
Block a user