summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-11-08 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-11-08 18:00:00 +0100
commit17c5b4169e50c127991cb20d9f8050a5e47b18c2 (patch)
tree1d4a827800e238f44bda9fbdcb69a36c03e7cf15 /recording.c
parentd62fbea7bad99cfa34ec42a678d4cf38ec1593d8 (diff)
downloadvdr-patch-lnbsharing-17c5b4169e50c127991cb20d9f8050a5e47b18c2.tar.gz
vdr-patch-lnbsharing-17c5b4169e50c127991cb20d9f8050a5e47b18c2.tar.bz2
Version 1.2.6pre5vdr-1.2.6pre5
- Added cDevice::GetSTC() (suggested by Sven Goethel). - Added Asia-Pacific satellites to 'sources.conf' (thanks to Richard Scobie). - Added North American satellites to 'sources.conf' (thanks to Luke Jenkins). - Fixed getting the list of recordings in case VDR is started from a directory where it doesn't have access to (thanks to Dirk Mueller).
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c
index 13aa417..a181ff4 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.85 2003/10/24 14:47:14 kls Exp $
+ * $Id: recording.c 1.86 2003/11/08 15:25:35 kls Exp $
*/
#include "recording.h"
@@ -46,7 +46,7 @@
#define SUMMARYFILESUFFIX "/summary.vdr"
#define MARKSFILESUFFIX "/marks.vdr"
-#define FINDCMD "find %s -follow -type d -name '%s' 2> /dev/null"
+#define FINDCMD "cd '%s' && find '%s' -follow -type d -name '%s' 2> /dev/null"
#define MINDISKSPACE 1024 // MB
@@ -621,7 +621,7 @@ bool cRecordings::Load(bool Deleted)
Clear();
bool result = false;
char *cmd = NULL;
- asprintf(&cmd, FINDCMD, VideoDirectory, Deleted ? "*" DELEXT : "*" RECEXT);
+ asprintf(&cmd, FINDCMD, VideoDirectory, VideoDirectory, Deleted ? "*" DELEXT : "*" RECEXT);
FILE *p = popen(cmd, "r");
if (p) {
char *s;