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
|
/*
* config.h: TVTV plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#ifndef __TVTV_CONFIG_H
#define __TVTV_CONFIG_H
#include <vdr/interface.h>
#include <vdr/plugin.h>
#include <vdr/tools.h>
#include <vdr/status.h>
enum eRecordName
{
eRecordName_Title,
eRecordName_NatureTitle,
eRecordName_TitleNature,
eRecordName_FormatNatureTitle,
eRecordName_FormatTitleNature,
eRecordName_MAX
};
enum eTimeShiftBugfix
{
eTimeShiftBugfixOff,
eTimeShiftBugfixAuto,
eTimeShiftBugfixManual,
eTimeShiftBugfixMAX
};
enum eTimeZoneBugfix
{
eTimeZoneBugfixOff,
eTimeZoneBugfixAuto,
eTimeZoneBugfixManual,
eTimeZoneBugfixManualDST,
eTimeZoneBugfixManualNonDST,
eTimeZoneBugfixIgnore,
eTimeZoneBugfixMAX
};
struct cTVTVConfig
{
public:
cTVTVConfig(void);
int tvtv_server;
char username[30];
char password[30];
int updatetime;
int autoupdate;
int AddOngoingNonVpsTimers;
int FormatRecordName;
int usestation;
int show_in_mainmenu;
int useproxy;
char httpproxy[256];
// VPS was introduced with VDR 1.3.5
#if VDRVERSNUM >= 10305
int usevps;
#endif
#if VDRVERSNUM >= 10344
int usetvtvdescr;
#endif
int tvtv_bugfix;
int tvtv_bugfix_hrs;
int TimeZoneShiftBugFix;
int TimeZoneShiftHours;
};
extern cTVTVConfig TVTVConfig;
#endif // __TVTV_CONFIG_H
|