summaryrefslogtreecommitdiff
path: root/update.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-16 19:28:49 +0100
committerhorchi <vdr@jwendel.de>2017-03-16 19:28:49 +0100
commit9065c5cfb63a92a08c44fe249b53b6a8cb003eab (patch)
tree465dced84c2491e70ff6702267c85c5a8d488b97 /update.c
parent829792b9eab3f9803e6d072ffa9a8a27675c112c (diff)
downloadvdr-epg-daemon-9065c5cfb63a92a08c44fe249b53b6a8cb003eab.tar.gz
vdr-epg-daemon-9065c5cfb63a92a08c44fe249b53b6a8cb003eab.tar.bz2
2017-03-16: version 1.1.110 (horchi)\n - added: Congig option for MovieDb api-key\n\n1.1.110
Diffstat (limited to 'update.c')
-rw-r--r--update.c4
1 files changed, 3 insertions, 1 deletions
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())
{