summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-13 20:26:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-13 20:26:51 +0200
commit5ed57fa1c5c2e33c218e60d906dc8e8163f50c16 (patch)
treeffbc38cfa37e76b14523d1001fe15dac6fe08923 /vdr.c
parent1369239b53ee23fa1f790c67649facb4f8e547ff (diff)
downloadvdr-5ed57fa1c5c2e33c218e60d906dc8e8163f50c16.tar.gz
vdr-5ed57fa1c5c2e33c218e60d906dc8e8163f50c16.tar.bz2
The list of recordings is now kept statically in memory
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 23f24957..fc1f9e09 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.183 2004/06/12 10:07:17 kls Exp $
+ * $Id: vdr.c 1.184 2004/06/13 13:52:09 kls Exp $
*/
#include <getopt.h>
@@ -475,6 +475,10 @@ int main(int argc, char *argv[])
else
cDevice::PrimaryDevice()->SetVolume(Setup.CurrentVolume, true);
+ // Recordings:
+
+ Recordings.Load();
+
// Signal handlers:
if (signal(SIGHUP, SignalHandler) == SIG_IGN) signal(SIGHUP, SIG_IGN);
@@ -606,6 +610,8 @@ int main(int argc, char *argv[])
TimerInVpsMargin = true;
}
}
+ if (!Menu && Recordings.NeedsUpdate())
+ Recordings.Load();
// CAM control:
if (!Menu && !cOsd::IsOpen())
Menu = CamControl();