summaryrefslogtreecommitdiff
path: root/lib/config.h
blob: f32877a430b93671ff1d30eed422fb7889112659 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
 * config.h:
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id: config.h,v 1.2 2012/10/26 08:44:13 wendel Exp $
 */

#ifndef __EPG2VDR_CONFIG_H
#define __EPG2VDR_CONFIG_H

#include "common.h"

#define EPG_PLUGIN_SEM_KEY 0x3db00001

//***************************************************************************
// Config
//***************************************************************************

struct cEPG2VDRConfig
{
   public:
      
      cEPG2VDRConfig(void);

      int useproxy;      
      char httpproxy[256+TB];
      char username[100+TB];
      char password[100+TB];

      int checkInitial;
      int updatetime;
      int days;
      int upddays;
      int storeXmlToFs;
      int blacklist;         // to enable noepg feature

      int getepgimages;
      int maximagesperevent;
      int epgImageSize;

      int seriesEnabled;
      char seriesUrl[500+TB];
      int seriesPort;
      int storeSeriesToFs;

      // for VDR_PLUGIN

      int activeOnEpgd;
      int scheduleBoot;

      // for epgd

      char cachePath[256+TB];
      char httpPath[256+TB];
      char pluginPath[256+TB];
      char epgView[100+TB];
      char theTvDBView[100+TB];
      int updateThreshold;
      int maintanance;
      int httpPort;

      // 

      char dbHost[100+TB];
      int dbPort;
      char dbName[100+TB];
      char dbUser[100+TB];
      char dbPass[100+TB];

      int logstdout;
      int loglevel;

      int mainmenuVisible;
      int mainmenuFullupdate;
      int masterMode;
      char uuid[sizeUuid+TB];

      int scrapEpg;
      int scrapRecordings;

};

extern cEPG2VDRConfig EPG2VDRConfig;

#endif // __EPG2VDR_CONFIG_H