summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-24 15:01:50 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-24 15:01:50 +0200
commit313448ad0cd49d6f515bb53b53d6b6700b96db00 (patch)
tree6dd1f147bde949ec76f1c4327b0d92e31bfb34a4 /vdr.c
parente41261ae46644e5637a888e969eba2bac632467e (diff)
downloadvdr-313448ad0cd49d6f515bb53b53d6b6700b96db00.tar.gz
vdr-313448ad0cd49d6f515bb53b53d6b6700b96db00.tar.bz2
Implemented 'modified' and 'seen' for EPG schedules/events1.3.14
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/vdr.c b/vdr.c
index 8ca7b5e6..033f186b 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.189 2004/10/23 15:04:52 kls Exp $
+ * $Id: vdr.c 1.190 2004/10/24 14:01:11 kls Exp $
*/
#include <getopt.h>
@@ -581,14 +581,9 @@ int main(int argc, char *argv[])
// Timers and Recordings:
if (!Timers.BeingEdited()) {
// Assign events to timers:
- if (time(NULL) - LastActivity > 10) {
- static time_t LastSetEvents = 0;//XXX trigger by actual EPG data modification???
- if (time(NULL) - LastSetEvents > 5) {
- Timers.SetEvents();
- LastSetEvents = time(NULL);
- }
- }
- time_t Now = time(NULL); // must do all following calls with the exact same time!
+ Timers.SetEvents();
+ // Must do all following calls with the exact same time!
+ time_t Now = time(NULL);
// Process ongoing recordings:
cRecordControls::Process(Now);
// Start new recordings: