summaryrefslogtreecommitdiff
path: root/epgdconfig.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-05 16:39:28 +0100
committerhorchi <vdr@jwendel.de>2017-03-05 16:39:28 +0100
commite2a48d8701f91b8e24fbe9e99e91eb72a87bb749 (patch)
tree726f70554b4ca985a09ef6e30a7fdc8df089993c /epgdconfig.c
downloadvdr-epg-daemon-e2a48d8701f91b8e24fbe9e99e91eb72a87bb749.tar.gz
vdr-epg-daemon-e2a48d8701f91b8e24fbe9e99e91eb72a87bb749.tar.bz2
git init1.1.103
Diffstat (limited to 'epgdconfig.c')
-rw-r--r--epgdconfig.c57
1 files changed, 57 insertions, 0 deletions
diff --git a/epgdconfig.c b/epgdconfig.c
new file mode 100644
index 0000000..84fdc7a
--- /dev/null
+++ b/epgdconfig.c
@@ -0,0 +1,57 @@
+/*
+ * config.c:
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#include "lib/epgservice.h"
+
+#include "epgdconfig.h"
+
+cEpgdConfig EpgdConfig;
+
+//***************************************************************************
+// cEpgdConfig
+//***************************************************************************
+
+cEpgdConfig::cEpgdConfig()
+ : cEpgConfig()
+{
+ checkInitial = yes;
+ updatetime = 6; // hours
+ days = 8;
+ upddays = 2;
+ storeXmlToFs = no;
+
+ maximagesperevent = 1;
+ epgImageSize = 2;
+
+ seriesEnabled = yes;
+ sstrcpy(seriesUrl, "www.eplists.de", sizeof(seriesUrl));
+ *seriesMail = 0;
+ seriesPort = 2006;
+ storeSeriesToFs = no;
+
+ sstrcpy(cachePath, "/var/cache/epgd", sizeof(cachePath));
+ sstrcpy(httpPath, "/var/epgd/www", sizeof(httpPath));
+ sstrcpy(pluginPath, PLGDIR, sizeof(pluginPath));
+ sstrcpy(epgView, "eventsview.sql", sizeof(epgView));
+ sstrcpy(epgViewWeb, "eventsviewplain.sql", sizeof(epgViewWeb));
+ sstrcpy(theTvDBView, "thetvdbview.sql", sizeof(theTvDBView));
+ updateThreshold = 200;
+ maintanance = no;
+
+ httpPort = 9999;
+ *httpDevice = 0;
+ httpUseTls = no;
+ *httpUser = 0;
+ *httpPass = 0;
+
+ *proxy = 0; // the proxy
+ *proxyuser = 0; // proxy user
+ *proxypwd = 0; // proxy password
+
+ scrapEpg = yes;
+ scrapRecordings = yes;
+}