From: Jaroslav Kysela Date: Mon, 27 Oct 2014 13:21:47 +0000 (+0100) Subject: mpegts service: Add Ignore EPG (EIT) checkbox, fixes #2410 X-Git-Tag: v4.1~887 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=466d27b7fe18fa5296139cce0fdd6c479c863cdc;p=thirdparty%2Ftvheadend.git mpegts service: Add Ignore EPG (EIT) checkbox, fixes #2410 --- diff --git a/src/epggrab/module/eit.c b/src/epggrab/module/eit.c index d21f5b27a..313e83649 100644 --- a/src/epggrab/module/eit.c +++ b/src/epggrab/module/eit.c @@ -633,6 +633,9 @@ _eit_callback if (!LIST_FIRST(&svc->s_channels)) goto done; + if (svc->s_dvb_ignore_eit) + goto done; + /* Process events */ save = resched = 0; len -= 11; diff --git a/src/input/mpegts.h b/src/input/mpegts.h index 78f4bb775..55f544d7f 100644 --- a/src/input/mpegts.h +++ b/src/input/mpegts.h @@ -432,6 +432,7 @@ struct mpegts_service char *s_dvb_provider; char *s_dvb_cridauth; uint16_t s_dvb_servicetype; + int s_dvb_ignore_eit; char *s_dvb_charset; uint16_t s_dvb_prefcapid; int s_dvb_prefcapid_lock; diff --git a/src/input/mpegts/mpegts_service.c b/src/input/mpegts/mpegts_service.c index 321268dad..ac24ad355 100644 --- a/src/input/mpegts/mpegts_service.c +++ b/src/input/mpegts/mpegts_service.c @@ -145,6 +145,13 @@ const idclass_t mpegts_service_class = .opts = PO_RDONLY | PO_HIDDEN, .off = offsetof(mpegts_service_t, s_dvb_servicetype), }, + { + .type = PT_BOOL, + .id = "dvb_ignore_eit", + .name = "Ignore EPG (EIT)", + .off = offsetof(mpegts_service_t, s_dvb_ignore_eit), + .opts = PO_ADVANCED, + }, { .type = PT_STR, .id = "charset",