summaryrefslogtreecommitdiff
path: root/epghandler.h
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-11-20 17:58:11 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2012-11-20 17:58:11 (GMT)
commitfddfe7581dc85bf74bae1aa7d12304acd941f351 (patch)
treebe8b8fe34c55ae5f9b6a9d27426833e368245425 /epghandler.h
parentfdc847f1b2cde7a687a078e2adeba9431b1e63e7 (diff)
downloadvdr-plugin-eepg-fddfe7581dc85bf74bae1aa7d12304acd941f351.tar.gz
vdr-plugin-eepg-fddfe7581dc85bf74bae1aa7d12304acd941f351.tar.bz2
new way of fixing of charset without patching VDR, unfortunately this makes two more conversions
handle some more duplicate events in the event handler extract category and genre when needed
Diffstat (limited to 'epghandler.h')
-rw-r--r--epghandler.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/epghandler.h b/epghandler.h
index feaad9d..92b7d0b 100644
--- a/epghandler.h
+++ b/epghandler.h
@@ -18,7 +18,7 @@ class cEEpgHandler : public cEpgHandler {
public:
cEEpgHandler();
virtual ~cEEpgHandler();
- virtual bool IgnoreChannel(const cChannel *Channel) { return false; }
+ virtual bool IgnoreChannel(const cChannel *Channel);
virtual bool HandleEitEvent(cSchedule *Schedule, const SI::EIT::Event *EitEvent, uchar TableID, uchar Version);
virtual bool SetEventID(cEvent *Event, tEventID EventID);
virtual bool SetTitle(cEvent *Event, const char *Title);
@@ -35,13 +35,19 @@ public:
virtual bool DropOutdated(cSchedule *Schedule, time_t SegmentStart, time_t SegmentEnd, uchar TableID, uchar Version);
// bool ParseEitEvent(cSchedule *Schedule, const SI::EIT::Event *EitEvent, uchar TableID, uchar Version);
+private:
+ const char* FixCharset(const char* text);
+
private:
std::string origShortText;
std::string origDescription;
+ std::string fixCharset;
cEquivHandler* equivHandler;
static const int _LONG_EVENT_HOURS = 10;
bool modified;
+ const char* CharsetOverride;
+
};
#endif /*APIVERSNUM > 10725*/