summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-03-12 16:46:45 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-03-12 16:46:45 +0100
commit84b386c4a10dc80202258ecdb09ab2451ba3fb47 (patch)
tree3b999d4a10fa240a53b83bed7dd440582318ae26 /config.c
parent6564d8e9284a8319fa75e814cd9c7206c4a026d5 (diff)
downloadvdr-84b386c4a10dc80202258ecdb09ab2451ba3fb47.tar.gz
vdr-84b386c4a10dc80202258ecdb09ab2451ba3fb47.tar.bz2
The new setup option "Folders in timer menu" controls whether the file names in the timer menu are shown with their full folder path1.7.14
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 5869e1af..aa18ebcf 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 2.11 2010/03/06 15:29:17 kls Exp $
+ * $Id: config.c 2.12 2010/03/12 16:41:37 kls Exp $
*/
#include "config.h"
@@ -354,6 +354,7 @@ cSetup::cSetup(void)
UseVps = 0;
VpsMargin = 120;
RecordingDirs = 1;
+ FoldersInTimerMenu = 1;
VideoDisplayFormat = 1;
VideoFormat = 0;
UpdateChannels = 5;
@@ -543,6 +544,7 @@ bool cSetup::Parse(const char *Name, const char *Value)
else if (!strcasecmp(Name, "UseVps")) UseVps = atoi(Value);
else if (!strcasecmp(Name, "VpsMargin")) VpsMargin = atoi(Value);
else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value);
+ else if (!strcasecmp(Name, "FoldersInTimerMenu")) FoldersInTimerMenu = atoi(Value);
else if (!strcasecmp(Name, "VideoDisplayFormat")) VideoDisplayFormat = atoi(Value);
else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value);
else if (!strcasecmp(Name, "UpdateChannels")) UpdateChannels = atoi(Value);
@@ -637,6 +639,7 @@ bool cSetup::Save(void)
Store("UseVps", UseVps);
Store("VpsMargin", VpsMargin);
Store("RecordingDirs", RecordingDirs);
+ Store("FoldersInTimerMenu", FoldersInTimerMenu);
Store("VideoDisplayFormat", VideoDisplayFormat);
Store("VideoFormat", VideoFormat);
Store("UpdateChannels", UpdateChannels);