From 249a4ab95914fd00601915354d8aabf75da1e064 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 27 Apr 2003 15:56:04 +0200 Subject: Fixed minimum lifespan of deleted recordings --- recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.c') diff --git a/recording.c b/recording.c index 261bee8b..23521a61 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.75 2003/04/12 09:51:44 kls Exp $ + * $Id: recording.c 1.76 2003/04/27 15:52:17 kls Exp $ */ #include "recording.h" @@ -78,7 +78,7 @@ void RemoveDeletedRecordings(void) r0 = r; r = Recordings.Next(r); } - if (r0 && time(NULL) - r0->start > DELETEDLIFETIME * 60) { + if (r0 && time(NULL) - r0->start > DELETEDLIFETIME * 3600) { r0->Remove(); RemoveEmptyVideoDirectories(); LastRemoveCheck += REMOVELATENCY; -- cgit v1.2.3