diff options
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | recording.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -3981,7 +3981,11 @@ Video Disk Recorder Revision History recordings that need to be removed (reported by Carsten Koch). - Fixed handling the DELETEDLIFETIME when removing deleted recordings. Now a deleted recording is retained at least DELETEDLIFETIME seconds before - actually removing it (unless a new recording requires the disk space). + actually removing it. + The value of DELETEDLIFETIME has been changed to 300. So after (possibly + inadvertently) deleting a recording, there will be at least 5 minutes + in which it can be recovered (unless a new recording immediately requires + the disk space). The count starts again at 0 every time VDR is started. - Fixed a possible crash when displaying the "Low disk space!" message from a background thread (thanks to Christof Steininger). - Fixed handling OSD areas that have invalid sizes (thanks to Marco Schlüßler). diff --git a/recording.c b/recording.c index b2718c9a..9b4793a8 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.130 2005/12/28 12:19:16 kls Exp $ + * $Id: recording.c 1.131 2006/01/03 11:36:12 kls Exp $ */ #include "recording.h" @@ -49,7 +49,7 @@ #define MINDISKSPACE 1024 // MB #define REMOVECHECKDELTA 60 // seconds between checks for removing deleted files -#define DELETEDLIFETIME 3600 // seconds after which a deleted recording will be actually removed +#define DELETEDLIFETIME 300 // seconds after which a deleted recording will be actually removed #define DISKCHECKDELTA 100 // seconds between checks for free disk space #define REMOVELATENCY 10 // seconds to wait until next check after removing a file |