From c50759747d1ca3ff5522344f9b54d30c560f4dc6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 15 Feb 2002 14:01:01 +0100 Subject: [PATCH] Added scanning for EPG data for another 4 days --- CONTRIBUTORS | 3 +++ HISTORY | 5 +++++ eit.c | 6 ++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 9ccf53db..4d1bb9f8 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -205,3 +205,6 @@ Uwe Freese Rainer Zocholl for suggesting a confirmation prompt when the user presses the "Power" button and there is an upcoming timer event + +Oleg Assovski + for adding EPG scanning for another 4 days diff --git a/HISTORY b/HISTORY index b2b3a9e1..8b887a2a 100644 --- a/HISTORY +++ b/HISTORY @@ -996,3 +996,8 @@ Video Disk Recorder Revision History prompt telling the user that there is an upcoming timer event. - If a recording has no episode title, the trailing '~' is no longer shown in the progress display. + +2002-02-15: Version 1.0.0pre1 + +- Added scanning for EPG data for another 4 days on channels that support this + (thanks to Oleg Assovski). diff --git a/eit.c b/eit.c index 99bcdfff..09c30f5e 100644 --- a/eit.c +++ b/eit.c @@ -16,7 +16,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: eit.c 1.34 2002/02/09 14:48:43 kls Exp $ + * $Id: eit.c 1.35 2002/02/15 13:58:26 kls Exp $ ***************************************************************************/ #include "eit.h" @@ -832,7 +832,7 @@ int cEIT::ProcessEIT(unsigned char *buffer) // We have found an existing event, either through its event ID or its start time. // If the new event comes from a table that belongs to an "other TS" and the existing // one comes from a "actual TS" table, lets skip it. - if ((tid == 0x4F || tid == 0x60) && (pEvent->GetTableID() == 0x4E || pEvent->GetTableID() == 0x50)) + if ((tid == 0x4F || tid == 0x60 || tid == 0x61) && (pEvent->GetTableID() == 0x4E || pEvent->GetTableID() == 0x50 || pEvent->GetTableID() == 0x51)) continue; } if (rEvent) { @@ -940,6 +940,8 @@ void cSIProcessor::SetStatus(bool On) AddFilter(0x12, 0x4f); // event info, other TS, present/following AddFilter(0x12, 0x50); // event info, actual TS, schedule AddFilter(0x12, 0x60); // event info, other TS, schedule + AddFilter(0x12, 0x51); // event info, actual TS, schedule for another 4 days + AddFilter(0x12, 0x61); // event info, other TS, schedule for another 4 days } schedulesMutex.Unlock(); }