diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2012-10-16 19:40:59 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2012-10-16 19:40:59 +0200 |
commit | 7de1003a14fb4b41920896c550db4e58f53aea8d (patch) | |
tree | dc70fa663dba793f25a1a14b9577ce8972d2ba70 /epghandler.c | |
parent | d207fd0a5873a4a60488a8dc2eb0cf62c172069b (diff) | |
download | vdr-plugin-eepg-7de1003a14fb4b41920896c550db4e58f53aea8d.tar.gz vdr-plugin-eepg-7de1003a14fb4b41920896c550db4e58f53aea8d.tar.bz2 |
Drop unmanaged Disable Double EPG entry. EEPG tries to handle this anyway
Drop unmanaged NOEPG support, there is a separate plugin for that
Move cEIT2 in a separate file and try to use it in epghandler also
Diffstat (limited to 'epghandler.c')
-rw-r--r-- | epghandler.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epghandler.c b/epghandler.c index f8a6636..3aaec2e 100644 --- a/epghandler.c +++ b/epghandler.c @@ -9,7 +9,9 @@ #if APIVERSNUM > 10725 #include "log.h" #include "equivhandler.h" +#include "eit2.h" #include <vdr/sources.h> +#include <libsi/si.h> cEEpgHandler::cEEpgHandler() { LogD(4, prep("cEEpgHandler()")); @@ -27,8 +29,11 @@ bool cEEpgHandler::HandleEitEvent(cSchedule* Schedule, //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) + if ((nid >= 0x1001 && nid <= 0x100B) || nid == 0x101 || nid == 0x100) { + SI::cEIT2 eit2(Schedule); + eit2.ProcessEitEvent(Schedule, EitEvent, TableID, Version); return true; + } //TODO Should it be added in setup? if (EitEvent->getDurationHour() > _LONG_EVENT_HOURS) { |