summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-07-29 15:21:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-07-29 15:21:42 +0200
commit0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa (patch)
tree8ba3132387c2eda4bb1fb6ac4b8f5354c61fed25 /vdr.c
parent92096e097a5cb6b90fb982d90b16012682d67ccf (diff)
downloadvdr-0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa.tar.gz
vdr-0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa.tar.bz2
Support for more than one video directory
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 36ddcb42..51422234 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.24 2000/07/28 13:14:19 kls Exp $
+ * $Id: vdr.c 1.25 2000/07/28 15:55:31 kls Exp $
*/
#include <getopt.h>
@@ -36,6 +36,7 @@
#include "recording.h"
#include "svdrp.h"
#include "tools.h"
+#include "videodir.h"
#ifdef REMOTE_KBD
#define KEYS_CONF "keys-pc.conf"
@@ -105,7 +106,7 @@ int main(int argc, char *argv[])
// Check the video directory:
- if (!DirectoryOk(VideoDirectory)) {
+ if (!DirectoryOk(VideoDirectory, true)) {
fprintf(stderr, "vdr: can't access video directory %s\n", VideoDirectory);
abort();
}