]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: quickfix for the previous patch
authorJaroslav Kysela <perex@perex.cz>
Mon, 12 Dec 2016 15:37:18 +0000 (16:37 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 12 Dec 2016 15:37:18 +0000 (16:37 +0100)
src/epggrab.c

index d4b0395305c5e817a1b7cb7a4442632d829a7f46..2802f578a38a4c02c768ae080a3bf91e9666f03a 100644 (file)
@@ -174,7 +174,8 @@ static void _epggrab_load ( void )
     epggrab_conf.cron = strdup("# Default config (00:04 and 12:04 everyday)\n4 */12 * * *");
     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->subsys == LS_TBL_EIT && strcmp(mod->id, "eit") == 0) ||
+           mod->subsys == LS_PSIP)) {
         mod->enabled = 1;
         epggrab_activate_module(mod, 1);
       }