From: Jaroslav Kysela Date: Mon, 12 Dec 2016 15:30:12 +0000 (+0100) Subject: epggrab: enably only OTA EIT and PSIP by default X-Git-Tag: v4.2.1~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=caabd1bc59c12e7f0239bfac882711ff95092bbf;p=thirdparty%2Ftvheadend.git epggrab: enably only OTA EIT and PSIP by default --- 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); }