summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-09-30 13:05:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-09-30 13:05:14 +0200
commitf1000d75c0201ff90b8daf2a39c8390f432c66a5 (patch)
tree8ce156f15997ef41417a85064fcf1bd86736af04 /recording.c
parent3cc12a401a865361856d6c42d5b979d43be15973 (diff)
downloadvdr-f1000d75c0201ff90b8daf2a39c8390f432c66a5.tar.gz
vdr-f1000d75c0201ff90b8daf2a39c8390f432c66a5.tar.bz2
Added 'IgnoreFiles' to RemoveEmptyDirectories()1.7.31
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/recording.c b/recording.c
index dc77a84c..1eeb82d0 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 2.63 2012/09/29 10:04:55 kls Exp $
+ * $Id: recording.c 2.64 2012/09/30 13:05:14 kls Exp $
*/
#include "recording.h"
@@ -107,8 +107,10 @@ void cRemoveDeletedRecordingsThread::Action(void)
}
r = DeletedRecordings.Next(r);
}
- if (deleted)
- RemoveEmptyVideoDirectories();
+ if (deleted) {
+ const char *IgnoreFiles[] = { SORTMODEFILE, NULL };
+ RemoveEmptyVideoDirectories(IgnoreFiles);
+ }
}
}