summaryrefslogtreecommitdiff
path: root/eit.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 /eit.c
parente41261ae46644e5637a888e969eba2bac632467e (diff)
downloadvdr-313448ad0cd49d6f515bb53b53d6b6700b96db00.tar.gz
vdr-313448ad0cd49d6f515bb53b53d6b6700b96db00.tar.bz2
Implemented 'modified' and 'seen' for EPG schedules/events1.3.14
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index b0cbfdfe..8ff51d34 100644
--- a/eit.c
+++ b/eit.c
@@ -8,7 +8,7 @@
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>.
*
- * $Id: eit.c 1.97 2004/10/16 09:49:13 kls Exp $
+ * $Id: eit.c 1.98 2004/10/24 14:56:39 kls Exp $
*/
#include "eit.h"
@@ -59,6 +59,7 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
}
else {
// We have found an existing event, either through its event ID or its start time.
+ pEvent->SetSeen();
// If the existing event has a zero table ID it was defined externally and shall
// not be overwritten.
if (pEvent->TableID() == 0x00)
@@ -215,8 +216,10 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
if (Empty && Tid == 0x4E && getSectionNumber() == 0)
// ETR 211: an empty entry in section 0 of table 0x4E means there is currently no event running
pSchedule->ClrRunningStatus(channel);
- if (Modified)
+ if (Modified) {
pSchedule->Sort();
+ Schedules->SetModified(pSchedule);
+ }
}
// --- cTDT ------------------------------------------------------------------