diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-18 10:41:26 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-18 10:41:26 +0100 |
commit | 579719a7f24079bc36939c6b7757030b7299ba29 (patch) | |
tree | 4c9ba173f8e58d16e96c993f3b561fb14a898c03 /vdr.c | |
parent | db35165e25974df8719d253cde398831877c526d (diff) | |
download | vdr-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.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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(); |