diff --git a/lib/sectionsdclient/sectionsdMsg.h b/lib/sectionsdclient/sectionsdMsg.h index 4595a80ca..c9d7c88f0 100644 --- a/lib/sectionsdclient/sectionsdMsg.h +++ b/lib/sectionsdclient/sectionsdMsg.h @@ -81,6 +81,7 @@ struct sectionsd { t_channel_id channel_id; bool requestEvent; + int dnum; }; struct responseIsTimeSet diff --git a/lib/sectionsdclient/sectionsdclient.cpp b/lib/sectionsdclient/sectionsdclient.cpp index 4c6e16c0c..2173ea9b5 100644 --- a/lib/sectionsdclient/sectionsdclient.cpp +++ b/lib/sectionsdclient/sectionsdclient.cpp @@ -147,12 +147,13 @@ bool CSectionsdClient::getIsScanningActive() } } -void CSectionsdClient::setServiceChanged(const t_channel_id channel_id, const bool requestEvent) +void CSectionsdClient::setServiceChanged(const t_channel_id channel_id, const bool requestEvent, int dnum) { sectionsd::commandSetServiceChanged msg; msg.channel_id = channel_id; msg.requestEvent = requestEvent; + msg.dnum = dnum; send(sectionsd::serviceChanged, (char *)&msg, sizeof(msg)); diff --git a/lib/sectionsdclient/sectionsdclient.h b/lib/sectionsdclient/sectionsdclient.h index 3d2d0d438..f782b9e16 100644 --- a/lib/sectionsdclient/sectionsdclient.h +++ b/lib/sectionsdclient/sectionsdclient.h @@ -79,6 +79,7 @@ class CSectionsdClient : private CBasicClient { EVT_TIMESET, EVT_GOT_CN_EPG, + EVT_EIT_COMPLETE, #if 0 EVT_SERVICES_UPDATE, EVT_BOUQUETS_UPDATE, @@ -180,7 +181,7 @@ class CSectionsdClient : private CBasicClient bool getIsTimeSet(); void setPauseScanning(const bool doPause); - void setServiceChanged(const t_channel_id channel_id, const bool requestEvent); + void setServiceChanged(const t_channel_id channel_id, const bool requestEvent, int dnum = 0); bool getIsScanningActive();