summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-18 16:21:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-18 16:21:05 +0100
commitad27adfef3ccf107a01e501c1df1f266d9c237d9 (patch)
tree464e210a6778eb0b2e62b38f4f57c5bfbf1121bb /recording.c
parent3586013b8fa8006afdc9624a97e8f14fa111d753 (diff)
downloadvdr-ad27adfef3ccf107a01e501c1df1f266d9c237d9.tar.gz
vdr-ad27adfef3ccf107a01e501c1df1f266d9c237d9.tar.bz2
Compile time switch VFAT to enable Windows compatible file names
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index 5bc66b76..d6e5a333 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.27 2001/02/11 14:53:44 kls Exp $
+ * $Id: recording.c 1.28 2001/02/18 16:14:05 kls Exp $
*/
#define _GNU_SOURCE
@@ -21,7 +21,11 @@
#define RECEXT ".rec"
#define DELEXT ".del"
+#ifdef VFAT
+#define DATAFORMAT "%4d-%02d-%02d.%02d.%02d.%02d.%02d" RECEXT
+#else
#define DATAFORMAT "%4d-%02d-%02d.%02d:%02d.%02d.%02d" RECEXT
+#endif
#define NAMEFORMAT "%s/%s/" DATAFORMAT
#define RESUMEFILESUFFIX "/resume.vdr"