add epg_save_frequently feature ...

... to provide the EPG data in frequently intervals on an external device


Origin commit data
------------------
Branch: ni/coolstream
Commit: e21a79195e
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-12-04 (Thu, 04 Dec 2014)

Origin message was:
------------------
- add epg_save_frequently feature ...

... to provide the EPG data in frequently intervals on an external device


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-12-04 16:48:50 +01:00
parent 580de8ec3b
commit 2ae96ef599
12 changed files with 50 additions and 1 deletions

View File

@@ -101,6 +101,7 @@ struct sectionsd
int epg_extendedcache;
// std::string network_ntpserver;
// std::string epg_dir;
int epg_save_frequently;
};
};

View File

@@ -206,6 +206,7 @@ void CSectionsdClient::setConfig(const epg_config config)
msg->network_ntprefresh = config.network_ntprefresh;
msg->network_ntpenable = config.network_ntpenable;
msg->epg_extendedcache = config.epg_extendedcache;
msg->epg_save_frequently= config.epg_save_frequently;
// config.network_ntpserver:
strcpy(&pData[sizeof(sectionsd::commandSetConfig)], config.network_ntpserver.c_str());
// config.epg_dir:

View File

@@ -162,6 +162,7 @@ class CSectionsdClient : private CBasicClient
int network_ntpenable;
int epg_extendedcache;
std::string network_ntpserver;
int epg_save_frequently;
std::string epg_dir;
} epg_config;