From 9dd10d9ee5938f9bacbba9d661d6eb829cf75ff0 Mon Sep 17 00:00:00 2001 From: seife Date: Sun, 6 Mar 2011 16:31:47 +0000 Subject: [PATCH] sectionsd: add a forgotten 'no epg' event git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1261 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/sectionsd/sectionsd.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/sectionsd/sectionsd.cpp b/src/sectionsd/sectionsd.cpp index 5797cc3a3..706ac2bfc 100644 --- a/src/sectionsd/sectionsd.cpp +++ b/src/sectionsd/sectionsd.cpp @@ -7789,6 +7789,13 @@ static void *cnThread(void *) { xprintf("zeit > dmxCN.lastChanged + TIME_EIT_VERSION_WAIT\n"); sendToSleepNow = true; + /* we can get here if we got the EIT version but no events */ + /* send a "no epg" event anyway before going to sleep */ + if (messaging_have_CN == 0x00) + eventServer->sendEvent(CSectionsdClient::EVT_GOT_CN_EPG, + CEventServer::INITID_SECTIONSD, + &messaging_current_servicekey, + sizeof(messaging_current_servicekey)); continue; }