summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-20 14:05:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-20 14:05:28 +0100
commitfd839aae7b0a443db6f0eab59fcc93f03aafd0ba (patch)
treec4930ee8c1ae7e29937ed396f6778153bb47474c /config.c
parente1ab9c1dacad9f2b3ba3a083b2b8b388289c4b72 (diff)
downloadvdr-fd839aae7b0a443db6f0eab59fcc93f03aafd0ba.tar.gz
vdr-fd839aae7b0a443db6f0eab59fcc93f03aafd0ba.tar.bz2
The 'Recordings' menu now displays a hierarchical structure
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index 6ebaaacb..f9303514 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.76 2001/10/20 13:09:38 kls Exp $
+ * $Id: config.c 1.77 2002/01/19 16:06:42 kls Exp $
*/
#include "config.h"
@@ -807,6 +807,7 @@ cSetup::cSetup(void)
DefaultPriority = 50;
DefaultLifetime = 50;
UseSubtitle = 1;
+ RecordingDirs = 1;
VideoFormat = VIDEO_FORMAT_4_3;
ChannelInfoPos = 0;
OSDwidth = 52;
@@ -848,6 +849,7 @@ bool cSetup::Parse(char *s)
else if (!strcasecmp(Name, "DefaultPriority")) DefaultPriority = atoi(Value);
else if (!strcasecmp(Name, "DefaultLifetime")) DefaultLifetime = atoi(Value);
else if (!strcasecmp(Name, "UseSubtitle")) UseSubtitle = atoi(Value);
+ else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value);
else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value);
else if (!strcasecmp(Name, "ChannelInfoPos")) ChannelInfoPos = atoi(Value);
else if (!strcasecmp(Name, "OSDwidth")) OSDwidth = atoi(Value);
@@ -924,6 +926,7 @@ bool cSetup::Save(const char *FileName)
fprintf(f, "DefaultPriority = %d\n", DefaultPriority);
fprintf(f, "DefaultLifetime = %d\n", DefaultLifetime);
fprintf(f, "UseSubtitle = %d\n", UseSubtitle);
+ fprintf(f, "RecordingDirs = %d\n", RecordingDirs);
fprintf(f, "VideoFormat = %d\n", VideoFormat);
fprintf(f, "ChannelInfoPos = %d\n", ChannelInfoPos);
fprintf(f, "OSDwidth = %d\n", OSDwidth);