diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2012-10-31 00:38:02 +0100 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2012-10-31 00:38:02 +0100 |
commit | fdc847f1b2cde7a687a078e2adeba9431b1e63e7 (patch) | |
tree | 1314f4d87531699b3bea93a077d62fb71dea6ba7 /epghandler.c | |
parent | 2095b317a04846c2c98f3d4133a6df59749373e2 (diff) | |
parent | 250c584c8b52ca6fadc75acc1f8f9e6c2830c014 (diff) | |
download | vdr-plugin-eepg-fdc847f1b2cde7a687a078e2adeba9431b1e63e7.tar.gz vdr-plugin-eepg-fdc847f1b2cde7a687a078e2adeba9431b1e63e7.tar.bz2 |
Merge branch 'experimental' into epg_short_text
Diffstat (limited to 'epghandler.c')
-rw-r--r-- | epghandler.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epghandler.c b/epghandler.c index 5bfabf1..1753ab7 100644 --- a/epghandler.c +++ b/epghandler.c @@ -10,9 +10,12 @@ #include "log.h" #include "equivhandler.h" #include "eit2.h" +#include "util.h" #include <vdr/sources.h> #include <libsi/si.h> +using namespace util; + cEEpgHandler::cEEpgHandler() { LogD(4, prep("cEEpgHandler()")); equivHandler = new cEquivHandler(); @@ -30,6 +33,9 @@ bool cEEpgHandler::HandleEitEvent(cSchedule* Schedule, //DISH NID 0x1001 to 0x100B BEV 0x100 and 0x101 int nid = Schedule->ChannelID().Nid(); if ((nid >= 0x1001 && nid <= 0x100B) || nid == 0x101 || nid == 0x100) { + //Set the Format for Eit events so that the new lines are not erased with FixEpgBugs + if (Format != DISH_BEV) Format = DISH_BEV; + SI::cEIT2 eit2(Schedule); eit2.ProcessEitEvent(Schedule, EitEvent, TableID, Version); return true; |