mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
add option to read saved epg data frequently
This commit is contained in:
@@ -102,6 +102,7 @@ struct sectionsd
|
||||
// std::string network_ntpserver;
|
||||
// std::string epg_dir;
|
||||
int epg_save_frequently;
|
||||
int epg_read_frequently;
|
||||
};
|
||||
|
||||
};
|
||||
|
@@ -207,6 +207,7 @@ void CSectionsdClient::setConfig(const epg_config config)
|
||||
msg->network_ntpenable = config.network_ntpenable;
|
||||
msg->epg_extendedcache = config.epg_extendedcache;
|
||||
msg->epg_save_frequently= config.epg_save_frequently;
|
||||
msg->epg_read_frequently= config.epg_read_frequently;
|
||||
// config.network_ntpserver:
|
||||
strcpy(&pData[sizeof(sectionsd::commandSetConfig)], config.network_ntpserver.c_str());
|
||||
// config.epg_dir:
|
||||
|
@@ -163,6 +163,7 @@ class CSectionsdClient : private CBasicClient
|
||||
int epg_extendedcache;
|
||||
std::string network_ntpserver;
|
||||
int epg_save_frequently;
|
||||
int epg_read_frequently;
|
||||
std::string epg_dir;
|
||||
} epg_config;
|
||||
|
||||
|
Reference in New Issue
Block a user