summaryrefslogtreecommitdiff
path: root/epghandler.c
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-05-12 14:42:01 +0300
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-05-12 14:42:01 +0300
commit6b488dcedf24cf9b4890505eba992d683eedecac (patch)
tree51347d76c4b2891568e54348d9ce0ab99304bd0b /epghandler.c
parent548e0a6bc35d4c776039f7467c0d67eabf9ef46a (diff)
downloadvdr-plugin-epgfixer-6b488dcedf24cf9b4890505eba992d683eedecac.tar.gz
vdr-plugin-epgfixer-6b488dcedf24cf9b4890505eba992d683eedecac.tar.bz2
Support for ignoring and copying EPG data. Bug fixes.
Fix character set conversion for selected channels. Fix and improve Makefile (thanks to Ville Skyttä and Rolf Ahrenberg). Fix compiling with g++-4.7.
Diffstat (limited to 'epghandler.c')
-rw-r--r--epghandler.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/epghandler.c b/epghandler.c
index 68e7a28..2dadd33 100644
--- a/epghandler.c
+++ b/epghandler.c
@@ -6,8 +6,10 @@
*/
#include "epghandler.h"
-#include "config.h"
+#include "blacklist.h"
#include "charset.h"
+#include "config.h"
+#include "epgclone.h"
#include "regexp.h"
#include <vdr/tools.h>
#include <string.h>
@@ -267,3 +269,13 @@ bool cEpgfixerEpgHandler::FixEpgBugs(cEvent *Event)
FixBugs(Event);
return false;
}
+
+bool cEpgfixerEpgHandler::HandleEvent(cEvent *Event)
+{
+ return EpgfixerEpgClones.Apply(Event);
+}
+
+bool cEpgfixerEpgHandler::IgnoreChannel(const cChannel *Channel)
+{
+ return EpgfixerBlacklists.Apply((cChannel *)Channel);
+}