mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
remove channel_id mask for CEitManager getXXX calls
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3f5a0e5bb1
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-08-30 (Thu, 30 Aug 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -893,7 +893,7 @@ std::string CControlAPI::_GetBouquetActualEPGItem(CyhookHandler *hh, CZapitChann
|
||||
if (event) {
|
||||
if (event->duration > 0)
|
||||
percentage = 100 * (time(NULL) - event->startTime) / event->duration;
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(channel->channel_id & 0xFFFFFFFFFFFFULL, currentNextInfo);
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(channel->channel_id, currentNextInfo);
|
||||
timestr = timeString(event->startTime);
|
||||
|
||||
firstEPG += hh->outPair("startTime", timestr, true);
|
||||
@@ -1502,7 +1502,7 @@ void CControlAPI::ZaptoCGI(CyhookHandler *hh)
|
||||
t_channel_id current_channel = NeutrinoAPI->Zapit->getCurrentServiceID();
|
||||
CSectionsdClient::LinkageDescriptorList desc;
|
||||
CSectionsdClient::responseGetCurrentNextInfoChannelID currentNextInfo;
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel&0xFFFFFFFFFFFFULL, currentNextInfo);
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel, currentNextInfo);
|
||||
if (CEitManager::getInstance()->getLinkageDescriptorsUniqueKey(currentNextInfo.current_uniqueKey,desc))
|
||||
{
|
||||
for(unsigned int i=0; i< desc.size(); i++)
|
||||
@@ -1642,7 +1642,7 @@ void CControlAPI::SendAllCurrentVAPid(CyhookHandler *hh)
|
||||
|
||||
t_channel_id current_channel = NeutrinoAPI->Zapit->getCurrentServiceID();
|
||||
CSectionsdClient::responseGetCurrentNextInfoChannelID currentNextInfo;
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel&0xFFFFFFFFFFFFULL, currentNextInfo);
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel, currentNextInfo);
|
||||
if (CEitManager::getInstance()->getComponentTagsUniqueKey(currentNextInfo.current_uniqueKey,tags))
|
||||
{
|
||||
for (unsigned int i=0; i< tags.size(); i++)
|
||||
|
@@ -287,7 +287,7 @@ std::string CNeutrinoYParser::func_get_channels_as_dropdown(CyhookHandler *, st
|
||||
sprintf(id,PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS,channel->channel_id);
|
||||
std::string _sid = std::string(id);
|
||||
sel = (_sid == achannel_id) ? "selected=\"selected\"" : "";
|
||||
CEitManager::getInstance()->getActualEPGServiceKey(channel->channel_id&0xFFFFFFFFFFFFULL, &epg);
|
||||
CEitManager::getInstance()->getActualEPGServiceKey(channel->channel_id, &epg);
|
||||
sprintf(buf,"<option value="PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS" %s>%.20s - %.30s</option>\n", channel->channel_id, sel.c_str(), channel->getName().c_str(),epg.title.c_str());
|
||||
yresult += buf;
|
||||
}
|
||||
@@ -392,7 +392,7 @@ std::string CNeutrinoYParser::func_get_bouquets_with_epg(CyhookHandler *hh, std:
|
||||
if (channel->getServiceType() == ST_NVOD_REFERENCE_SERVICE)
|
||||
{
|
||||
CSectionsdClient::NVODTimesList nvod_list;
|
||||
if (CEitManager::getInstance()->getNVODTimesServiceKey(channel->channel_id&0xFFFFFFFFFFFFULL, nvod_list))
|
||||
if (CEitManager::getInstance()->getNVODTimesServiceKey(channel->channel_id, nvod_list))
|
||||
{
|
||||
CZapitClient::subServiceList subServiceList;
|
||||
|
||||
@@ -409,7 +409,7 @@ std::string CNeutrinoYParser::func_get_bouquets_with_epg(CyhookHandler *hh, std:
|
||||
t_channel_id channel_id = CREATE_CHANNEL_ID(cmd.service_id, cmd.original_network_id, cmd.transport_stream_id);
|
||||
|
||||
timestr = timeString(ni->zeit.startzeit); // FIXME: time is wrong (at least on little endian)!
|
||||
CEitManager::getInstance()->getActualEPGServiceKey(channel_id&0xFFFFFFFFFFFFULL, &epg); // FIXME: der scheissendreck geht nit!!!
|
||||
CEitManager::getInstance()->getActualEPGServiceKey(channel_id, &epg); // FIXME: der scheissendreck geht nit!!!
|
||||
yresult += string_printf("<tr>\n<td align=\"left\" style=\"width: 31px\" class=\"%cepg\"> </td>", classname);
|
||||
yresult += string_printf("<td class=\"%cepg\">%s ", classname, timestr.c_str());
|
||||
yresult += string_printf("%s<a href=\"javascript:do_zap('"
|
||||
@@ -435,7 +435,7 @@ std::string CNeutrinoYParser::func_get_bouquets_with_epg(CyhookHandler *hh, std:
|
||||
else if ((event = NeutrinoAPI->ChannelListEvents[channel->channel_id]))
|
||||
{
|
||||
bool has_current_next = true;
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(channel->channel_id&0xFFFFFFFFFFFFULL, currentNextInfo);
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(channel->channel_id, currentNextInfo);
|
||||
timestr = timeString(event->startTime);
|
||||
|
||||
yresult += string_printf("<tr><td class=\"%cepg\">",classname);
|
||||
@@ -543,7 +543,7 @@ std::string CNeutrinoYParser::func_get_audio_pids_as_dropdown(CyhookHandler *,
|
||||
|
||||
t_channel_id current_channel = CZapit::getInstance()->GetCurrentChannelID();
|
||||
CSectionsdClient::responseGetCurrentNextInfoChannelID currentNextInfo;
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel&0xFFFFFFFFFFFFULL, currentNextInfo);
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel, currentNextInfo);
|
||||
if (CEitManager::getInstance()->getComponentTagsUniqueKey(currentNextInfo.current_uniqueKey,tags))
|
||||
{
|
||||
for (unsigned int i=0; i< tags.size(); i++)
|
||||
|
Reference in New Issue
Block a user