vdr-plugin-scraper2vdr/lib/config.h

87 lines
1.7 KiB
C
Raw Normal View History

2014-04-12 17:10:43 +02:00
/*
* 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"
2014-10-25 05:55:19 +02:00
#define EPG_PLUGIN_SEM_KEY 0x3db00001
2014-04-12 17:10:43 +02:00
//***************************************************************************
// 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;
2014-05-09 16:53:56 +02:00
// for VDR_PLUGIN
2014-04-12 17:10:43 +02:00
int activeOnEpgd;
int scheduleBoot;
2014-05-09 16:53:56 +02:00
// for epgd
2014-04-12 17:10:43 +02:00
char cachePath[256+TB];
2014-05-09 01:05:21 +02:00
char httpPath[256+TB];
2014-04-12 17:10:43 +02:00
char pluginPath[256+TB];
char epgView[100+TB];
2014-05-09 01:05:21 +02:00
char theTvDBView[100+TB];
2014-04-12 17:10:43 +02:00
int updateThreshold;
int maintanance;
2014-05-09 01:05:21 +02:00
int httpPort;
2014-05-09 16:53:56 +02:00
//
2014-04-12 17:10:43 +02:00
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];
2014-05-09 01:05:21 +02:00
int scrapEpg;
int scrapRecordings;
2014-04-12 17:10:43 +02:00
};
extern cEPG2VDRConfig EPG2VDRConfig;
#endif // __EPG2VDR_CONFIG_H