neutrino: stop EIT read before zap

This commit is contained in:
[CST] Focus
2014-09-02 12:59:21 +04:00
parent cac3a87137
commit 3513f9830a
8 changed files with 41 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ struct sectionsd
getIsScanningActive, // commandGetIsScanningActive
getIsTimeSet, // commandGetIsTimeSet
serviceChanged, // commandserviceChanged
serviceStopped, // commandserviceChanged
CMD_registerEvents, // commandRegisterEventClient
CMD_unregisterEvents, // commandUnRegisterEventClient
freeMemory, // commandFreeMemory

View File

@@ -161,6 +161,14 @@ void CSectionsdClient::setServiceChanged(const t_channel_id channel_id, const bo
close_connection();
}
void CSectionsdClient::setServiceStopped()
{
send(sectionsd::serviceStopped);
readResponse();
close_connection();
}
void CSectionsdClient::freeMemory()
{
send(sectionsd::freeMemory);

View File

@@ -182,6 +182,7 @@ class CSectionsdClient : private CBasicClient
bool getIsTimeSet();
void setPauseScanning(const bool doPause);
void setServiceChanged(const t_channel_id channel_id, const bool requestEvent, int dnum = 0);
void setServiceStopped();
bool getIsScanningActive();