From 48b12080740aee4e035d3b7412c4da4bf301315d Mon Sep 17 00:00:00 2001 From: Dimitar Petrovski Date: Mon, 21 May 2012 19:44:32 +0200 Subject: disable EIT scan for NA so that the titles/descriptions are not erased, until the proper solution is made --- epghandler.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/epghandler.c b/epghandler.c index 29f092b..2e50c33 100644 --- a/epghandler.c +++ b/epghandler.c @@ -8,20 +8,24 @@ #include "epghandler.h" #if APIVERSNUM > 10725 #include "log.h" +#include cEEpgHandler::cEEpgHandler() { - // TODO Auto-generated constructor stub LogD(4, prep("cEEpgHandler()")); } cEEpgHandler::~cEEpgHandler() { - // TODO Auto-generated destructor stub } bool cEEpgHandler::HandleEitEvent(cSchedule* Schedule, const SI::EIT::Event* EitEvent, uchar TableID, uchar Version) { //LogD(1, prep("HandleEitEvent")); + //DISH NID 0x1001 to 0x100B BEV 0x100 and 0x101 + //TODO move the eit handling code at least for NA providers here instead of discarding. + int nid = Schedule->ChannelID().Nid(); + if ((nid >= 0x1001 && nid <= 0x100B) || nid == 0x101 || nid == 0x100) + return true; return false; // return true; } -- cgit v1.2.3