summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-01-20 18:20:49 +0000
committerphintuka <phintuka>2007-01-20 18:20:49 +0000
commit9ec49cb826c474fe4afdf5793479dd39e6f3812e (patch)
tree3641ef2ffa4a7772c722026c5c17fa5395e2e6eb /config.c
parent2c4629a7353ce240080e89d104ece80a6b3e4303 (diff)
downloadxineliboutput-9ec49cb826c474fe4afdf5793479dd39e6f3812e.tar.gz
xineliboutput-9ec49cb826c474fe4afdf5793479dd39e6f3812e.tar.bz2
Use VDR VideoDir setting instead of /video (Patch from Ville Skyttä)
Diffstat (limited to 'config.c')
-rw-r--r--config.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.c b/config.c
index 661d4d0f..f4355b37 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c,v 1.22 2007-01-19 14:21:48 phintuka Exp $
+ * $Id: config.c,v 1.23 2007-01-20 18:20:49 phintuka Exp $
*
*/
@@ -14,6 +14,7 @@
#include <getopt.h>
#include <vdr/config.h>
+#include <vdr/videodir.h>
#include "logdefs.h"
#include "config.h"
@@ -297,9 +298,9 @@ config_t::config_t() {
brightness = -1;
overscan = 0;
- strcpy(browse_files_dir, "/video");
- strcpy(browse_music_dir, "/video");
- strcpy(browse_images_dir, "/video");
+ strcpy(browse_files_dir, VideoDirectory);
+ strcpy(browse_music_dir, VideoDirectory);
+ strcpy(browse_images_dir, VideoDirectory);
cache_implicit_playlists = 1;
enable_id3_scanner = 1;