diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-13 20:26:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-13 20:26:51 +0200 |
commit | 5ed57fa1c5c2e33c218e60d906dc8e8163f50c16 (patch) | |
tree | ffbc38cfa37e76b14523d1001fe15dac6fe08923 /vdr.c | |
parent | 1369239b53ee23fa1f790c67649facb4f8e547ff (diff) | |
download | vdr-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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(); |