diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-11 14:53:44 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-11 14:53:44 +0100 |
commit | 80a42f130003dabf7c70de35f446f4dbcf1ea3cf (patch) | |
tree | a008421d972a9c4eefd20d81dfb0cddbd7802b9e /recording.c | |
parent | c0ed9649a3f32b4510eddb47dfd82bcc860eac70 (diff) | |
download | vdr-80a42f130003dabf7c70de35f446f4dbcf1ea3cf.tar.gz vdr-80a42f130003dabf7c70de35f446f4dbcf1ea3cf.tar.bz2 |
Removing empty directories
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recording.c b/recording.c index 72b3135f..5bc66b76 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.26 2001/02/11 10:47:31 kls Exp $ + * $Id: recording.c 1.27 2001/02/11 14:53:44 kls Exp $ */ #define _GNU_SOURCE @@ -53,6 +53,7 @@ void RemoveDeletedRecordings(void) } if (r0 && time(NULL) - r0->start > DELETEDLIFETIME * 60) { r0->Remove(); + RemoveEmptyVideoDirectories(); LastRemoveCheck += REMOVELATENCY; return; } |