neutrino: stop EIT read before zap

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3513f9830a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-02 (Tue, 02 Sep 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-09-02 12:59:21 +04:00
parent 22a3451d52
commit 900ade3987
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();