summaryrefslogtreecommitdiff
path: root/epghandler.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-05-21 19:44:32 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-21 19:44:32 +0200
commit48b12080740aee4e035d3b7412c4da4bf301315d (patch)
tree523d9c44663de32d37d6255dda7caff89b29bbbf /epghandler.c
parent6d0336431c938a8a04f3fae809fa3e233de5612e (diff)
downloadvdr-plugin-eepg-48b12080740aee4e035d3b7412c4da4bf301315d.tar.gz
vdr-plugin-eepg-48b12080740aee4e035d3b7412c4da4bf301315d.tar.bz2
disable EIT scan for NA so that the titles/descriptions are not erased, until the proper solution is made
Diffstat (limited to 'epghandler.c')
-rw-r--r--epghandler.c8
1 files 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 <vdr/sources.h>
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;
}