diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index 4213940ae..1699c025b 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -842,9 +842,12 @@ void CControlAPI::GetBouquetCGI(CyhookHandler *hh) CZapitChannel * channel = channels[j]; hh->printf("\n\t%u\n\t" PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS - "\n\t\n\n", + "\n\t" + PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS + "\n\t\n\n", num + j, channel->channel_id, + channel->channel_id&0xFFFFFFFFFFFFULL, channel->getName().c_str()); } hh->WriteLn(""); @@ -1012,6 +1015,9 @@ void CControlAPI::EpgCGI(CyhookHandler *hh) hh->printf("" PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS "\r\n", channel_id); + hh->printf("" + PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS + "\r\n", channel_id&0xFFFFFFFFFFFFULL); hh->printf("\r\n", NeutrinoAPI->GetServiceName(channel_id).c_str()); // max = maximal output items