diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2002-08-04 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2002-08-04 18:00:00 +0200 |
commit | 527748826c8d3cfacff8a7ab3fda9551c1182590 (patch) | |
tree | 4e753aa85bc11b44e078809b643b7e5d6be5fdd9 /recording.c | |
parent | a4112a96a67dbeb1cd6a63d2b4fa4b837462f467 (diff) | |
download | vdr-patch-lnbsharing-527748826c8d3cfacff8a7ab3fda9551c1182590.tar.gz vdr-patch-lnbsharing-527748826c8d3cfacff8a7ab3fda9551c1182590.tar.bz2 |
Version 1.1.6vdr-1.1.6
- Re-visited the race condition fix in the cDvbPlayer (thanks again to Andreas
Schultz).
- Changed the VFAT handling to allow users who normally use it but have forgotten
to set it when compiling a new version of VDR to at least see their recordings
made with VFAT enabled (thanks to Christian Rienecker).
- Added some missing teletext PIDs (thanks to Joerg Riechardt).
- Fixed PID handling for cReceiver.
- Added a missing #include to ringbuffer.c (thanks to Martin Hammerschmid).
- Now using CC, CFLAGS, CXX and CXXFLAGS in Makefile.
- Changed the cDevice class to allow plugins to implement their own devices (see
PLUGINS.html for details).
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/recording.c b/recording.c index 7ebec5c..afa0e7f 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.64 2002/06/22 10:11:49 kls Exp $ + * $Id: recording.c 1.65 2002/07/27 12:55:14 kls Exp $ */ #include "recording.h" @@ -22,12 +22,24 @@ #define RECEXT ".rec" #define DELEXT ".del" +/* This was the original code, which works fine in a Linux only environment. + Unfortunately, because of windows and its brain dead file system, we have + to use a more complicated approach, in order to allow users who have enabled + the VFAT compile time option to see their recordings even if they forget to + enable VFAT when compiling a new version of VDR... Gee, do I hate Windows. + (kls 2002-07-27) +#define DATAFORMAT "%4d-%02d-%02d.%02d:%02d.%02d.%02d" RECEXT +#define NAMEFORMAT "%s/%s/" DATAFORMAT +*/ +// start of implementation for brain dead systems +#define DATAFORMAT "%4d-%02d-%02d.%02d%*c%02d.%02d.%02d" RECEXT #ifdef VFAT -#define DATAFORMAT "%4d-%02d-%02d.%02d.%02d.%02d.%02d" RECEXT +#define nameFORMAT "%4d-%02d-%02d.%02d.%02d.%02d.%02d" RECEXT #else -#define DATAFORMAT "%4d-%02d-%02d.%02d:%02d.%02d.%02d" RECEXT +#define nameFORMAT "%4d-%02d-%02d.%02d:%02d.%02d.%02d" RECEXT #endif -#define NAMEFORMAT "%s/%s/" DATAFORMAT +#define NAMEFORMAT "%s/%s/" nameFORMAT +// end of implementation for brain dead systems #define RESUMEFILESUFFIX "/resume.vdr" #define SUMMARYFILESUFFIX "/summary.vdr" |