summaryrefslogtreecommitdiff
path: root/config.c
blob: 22793b9a8239c5b61c6cf8e17f330143171f6c3c (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
/*
 * config.c: TVTV plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */
 
#include "config.h"

cTVTVConfig TVTVConfig;

cTVTVConfig::cTVTVConfig(void) {
  tvtv_server=0;
  strn0cpy(username,  "", sizeof(username));
  strn0cpy(password,  "", sizeof(password));
  autoupdate=0;
  updatetime=30;
  FormatRecordName = eRecordName_FormatNatureTitle;
  usestation=1;
  show_in_mainmenu=1;
  useproxy=0;
  strn0cpy(httpproxy, "127.0.0.1:8000", sizeof(httpproxy));
// VPS was introduced with VDR 1.3.5
#if VDRVERSNUM >= 10305
  usevps=1;
#endif	        
#if VDRVERSNUM >= 10344
  usetvtvdescr=0;
#endif
  tvtv_bugfix=0;
  tvtv_bugfix_hrs=1;
}