mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
nhttpd use epg id to get events
Origin commit data
------------------
Branch: ni/coolstream
Commit: 52f4312aef
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-05-11 (Wed, 11 May 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -295,7 +295,13 @@ void CNeutrinoAPI::GetChannelEvent(t_channel_id channel_id, CChannelEvent &event
|
||||
{
|
||||
OpenThreads::ScopedPointerLock<OpenThreads::Mutex> lock(pmutex);
|
||||
event.eventID = 0;
|
||||
CChannelEvent * evt = ChannelListEvents[channel_id];
|
||||
|
||||
t_channel_id epg_id = channel_id;
|
||||
CZapitChannel * ch = CServiceManager::getInstance()->FindChannel(channel_id);
|
||||
if (ch)
|
||||
epg_id = ch->getEpgID();
|
||||
|
||||
CChannelEvent * evt = ChannelListEvents[epg_id];
|
||||
if (evt)
|
||||
event = *evt;
|
||||
}
|
||||
|
Reference in New Issue
Block a user