summaryrefslogtreecommitdiff
path: root/epgdconfig.c
blob: 84fdc7ad649c3a337bee053b299454790763fae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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;
}