diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-03-07 12:43:30 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-03-07 12:43:30 +0100 |
commit | 74d6d35bce1f724e0d1e1b57fe5b022189c73f2c (patch) | |
tree | 16657cac088f1c29d172b609fe123d40b3adb784 /config.c | |
parent | 2f16565bc8a81be10af7bb1ba652719a8aaa9eb6 (diff) | |
download | vdr-74d6d35bce1f724e0d1e1b57fe5b022189c73f2c.tar.gz vdr-74d6d35bce1f724e0d1e1b57fe5b022189c73f2c.tar.bz2 |
Implemented automatic deleting of timeshift recording
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 2.10 2010/01/31 12:36:36 kls Exp $ + * $Id: config.c 2.11 2010/03/06 15:29:17 kls Exp $ */ #include "config.h" @@ -383,6 +383,7 @@ cSetup::cSetup(void) FontFixSize = 20; MaxVideoFileSize = MAXVIDEOFILESIZEDEFAULT; SplitEditedFiles = 0; + DelTimeshiftRec = 0; MinEventTimeout = 30; MinUserInactivity = 300; NextWakeupTime = 0; @@ -571,6 +572,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "FontFixSize")) FontFixSize = atoi(Value); else if (!strcasecmp(Name, "MaxVideoFileSize")) MaxVideoFileSize = atoi(Value); else if (!strcasecmp(Name, "SplitEditedFiles")) SplitEditedFiles = atoi(Value); + else if (!strcasecmp(Name, "DelTimeshiftRec")) DelTimeshiftRec = atoi(Value); else if (!strcasecmp(Name, "MinEventTimeout")) MinEventTimeout = atoi(Value); else if (!strcasecmp(Name, "MinUserInactivity")) MinUserInactivity = atoi(Value); else if (!strcasecmp(Name, "NextWakeupTime")) NextWakeupTime = atoi(Value); @@ -664,6 +666,7 @@ bool cSetup::Save(void) Store("FontFixSize", FontFixSize); Store("MaxVideoFileSize", MaxVideoFileSize); Store("SplitEditedFiles", SplitEditedFiles); + Store("DelTimeshiftRec", DelTimeshiftRec); Store("MinEventTimeout", MinEventTimeout); Store("MinUserInactivity", MinUserInactivity); Store("NextWakeupTime", NextWakeupTime); |