]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: enably only OTA EIT and PSIP by default
authorJaroslav Kysela <perex@perex.cz>
Mon, 12 Dec 2016 15:30:12 +0000 (16:30 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 12 Dec 2016 15:30:12 +0000 (16:30 +0100)
src/epggrab.c

index b48822d6109e8fdf2df5c18a9c8b7c5973b696fa..d4b0395305c5e817a1b7cb7a4442632d829a7f46 100644 (file)
@@ -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);
       }