From caabd1bc59c12e7f0239bfac882711ff95092bbf Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 12 Dec 2016 16:30:12 +0100 Subject: [PATCH] epggrab: enably only OTA EIT and PSIP by default --- src/epggrab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/epggrab.c b/src/epggrab.c index b48822d61..d4b039530 100644 --- a/src/epggrab.c +++ b/src/epggrab.c @@ -172,8 +172,9 @@ static void _epggrab_load ( void ) } else { free(epggrab_conf.cron); epggrab_conf.cron = strdup("# Default config (00:04 and 12:04 everyday)\n4 */12 * * *"); - LIST_FOREACH(mod, &epggrab_modules, link) // enable all OTA by default - if (mod->type == EPGGRAB_OTA) { + LIST_FOREACH(mod, &epggrab_modules, link) // enable only OTA EIT and OTA PSIP by default + if (mod->type == EPGGRAB_OTA && + (mod->subsys == LS_TBL_EIT || mod->subsys == LS_PSIP)) { mod->enabled = 1; epggrab_activate_module(mod, 1); } -- 2.47.3