summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-11 14:53:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-11 14:53:44 +0100
commit80a42f130003dabf7c70de35f446f4dbcf1ea3cf (patch)
treea008421d972a9c4eefd20d81dfb0cddbd7802b9e /recording.c
parentc0ed9649a3f32b4510eddb47dfd82bcc860eac70 (diff)
downloadvdr-80a42f130003dabf7c70de35f446f4dbcf1ea3cf.tar.gz
vdr-80a42f130003dabf7c70de35f446f4dbcf1ea3cf.tar.bz2
Removing empty directories
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c3
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;
}