mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
sectionsd.cpp:-fix search mode
This commit is contained in:
@@ -2159,7 +2159,9 @@ void CEitManager::getEventsServiceKey(t_channel_id serviceUniqueKey, CChannelEve
|
||||
{
|
||||
dprintf("sendAllEvents for " PRINTF_CHANNEL_ID_TYPE "\n", serviceUniqueKey);
|
||||
|
||||
eList.clear();
|
||||
if(!eList.empty() && search == 0)//skip on search mode
|
||||
eList.clear();
|
||||
|
||||
t_channel_id serviceUniqueKey64 = serviceUniqueKey& 0xFFFFFFFFFFFFULL; //0xFFFFFFFFFFFFULL for CREATE_CHANNEL_ID64
|
||||
if(serviceUniqueKey64 == 0)
|
||||
return;
|
||||
|
@@ -1014,6 +1014,8 @@ bool CNeutrinoEventList::findEvents(void)
|
||||
{
|
||||
res = true;
|
||||
m_showChannel = true; // force the event list to paint the channel name
|
||||
if(!evtlist.empty())
|
||||
evtlist.clear();
|
||||
if(m_search_list == SEARCH_LIST_CHANNEL)
|
||||
{
|
||||
CEitManager::getInstance()->getEventsServiceKey(m_search_channel_id, evtlist, m_search_epg_item,m_search_keyword);
|
||||
|
Reference in New Issue
Block a user