summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-12-18 10:41:26 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-12-18 10:41:26 +0100
commit579719a7f24079bc36939c6b7757030b7299ba29 (patch)
tree4c9ba173f8e58d16e96c993f3b561fb14a898c03 /vdr.c
parentdb35165e25974df8719d253cde398831877c526d (diff)
downloadvdr-579719a7f24079bc36939c6b7757030b7299ba29.tar.gz
vdr-579719a7f24079bc36939c6b7757030b7299ba29.tar.bz2
When displaying the amount of free disk space, the space consumed by "deleted" recordings is now taken into account
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 8b206f97..a467fbcc 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.220 2005/11/27 15:56:18 kls Exp $
+ * $Id: vdr.c 1.221 2005/12/18 10:33:37 kls Exp $
*/
#include <getopt.h>
@@ -434,6 +434,7 @@ int main(int argc, char *argv[])
// Recordings:
Recordings.Update();
+ DeletedRecordings.Update();
// EPG data:
@@ -667,8 +668,10 @@ int main(int argc, char *argv[])
TimerInVpsMargin = true;
}
}
- if (!Menu && Recordings.NeedsUpdate())
+ if (!Menu && Recordings.NeedsUpdate()) {
Recordings.Update();
+ DeletedRecordings.Update();
+ }
// CAM control:
if (!Menu && !cOsd::IsOpen()) {
Menu = CamControl();