eitd/sectionsd.cpp: do not send EVT_EIT_COMPLETE, if scanning paused

This commit is contained in:
[CST] Focus
2013-10-10 18:50:16 +04:00
parent 7c20ba490b
commit 0a831b87a0

View File

@@ -1701,10 +1701,12 @@ void CEitThread::beforeSleep()
writeLockMessaging();
messaging_zap_detected = false;
unlockMessaging();
if (scanning) {
eventServer->sendEvent(CSectionsdClient::EVT_EIT_COMPLETE,
CEventServer::INITID_SECTIONSD,
&current_service,
sizeof(messaging_current_servicekey));
}
if(notify_complete)
system(CONFIGDIR "/epgdone.sh");
}