From 9065c5cfb63a92a08c44fe249b53b6a8cb003eab Mon Sep 17 00:00:00 2001 From: horchi Date: Thu, 16 Mar 2017 19:28:49 +0100 Subject: 2017-03-16: version 1.1.110 (horchi)\n - added: Congig option for MovieDb api-key\n\n --- update.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'update.c') diff --git a/update.c b/update.c index c3db428..f79ab68 100644 --- a/update.c +++ b/update.c @@ -366,6 +366,8 @@ int cEpgd::atConfigItem(const char* Name, const char* Value) else if (!strcasecmp(Name, "ScrapEpg")) EpgdConfig.scrapEpg = atoi(Value); else if (!strcasecmp(Name, "ScrapRecordings")) EpgdConfig.scrapRecordings = atoi(Value); + else if (!strcasecmp(Name, "ScrapMovieDbApiKey")) sstrcpy(EpgdConfig.scrapMovieDbApiKey, Value, sizeof(EpgdConfig.scrapMovieDbApiKey)); + else if (!strcasecmp(Name, "NetDevice")) sstrcpy(EpgdConfig.netDevice, Value, sizeof(EpgdConfig.netDevice)); else if (!strcasecmp(Name, "HttpDevice")) sstrcpy(EpgdConfig.httpDevice, Value, sizeof(EpgdConfig.httpDevice)); else if (!strcasecmp(Name, "HttpPort")) EpgdConfig.httpPort = atoi(Value); @@ -1340,7 +1342,7 @@ void cEpgd::loop() scheduleAutoUpdate(EpgdConfig.checkInitial ? 10 : 0); - scrapNewEvents(); // # debug scarper at Start + // scrapNewEvents(); // # to debug scarper at Start while (!doShutDown()) { -- cgit v1.2.3