Added scanning for EPG data for another 4 days

This commit is contained in:
Klaus Schmidinger 2002-02-15 14:01:01 +01:00
parent 60eed661a2
commit c50759747d
3 changed files with 12 additions and 2 deletions

View File

@ -205,3 +205,6 @@ Uwe Freese <mail@uwe-freese.de>
Rainer Zocholl <Usenet-372114@zocki.toppoint.de>
for suggesting a confirmation prompt when the user presses the "Power" button
and there is an upcoming timer event
Oleg Assovski <assen@bitcom.msk.ru>
for adding EPG scanning for another 4 days

View File

@ -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).

6
eit.c
View File

@ -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();
}