mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- add epg_save_frequently feature ...
... to provide the EPG data in frequently intervals on an external device
This commit is contained in:
@@ -101,6 +101,7 @@ struct sectionsd
|
||||
int epg_extendedcache;
|
||||
// std::string network_ntpserver;
|
||||
// std::string epg_dir;
|
||||
int epg_save_frequently;
|
||||
};
|
||||
|
||||
};
|
||||
|
@@ -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:
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user