Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epggrab: enably only OTA EIT and PSIP by default
  • Loading branch information
perexg committed Dec 12, 2016
1 parent d7558ba commit caabd1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/epggrab.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit caabd1b

Please sign in to comment.