]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: fix the initial settings for OTA modules (enabled)
authorJaroslav Kysela <perex@perex.cz>
Tue, 29 Sep 2015 18:38:35 +0000 (20:38 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 29 Sep 2015 18:38:42 +0000 (20:38 +0200)
src/epggrab.c

index 58b68a58787f75a2c44eca4aaaacfda6bab99196..2db756c68979e9b686de712c6722fd4e432874c3 100644 (file)
@@ -152,8 +152,10 @@ static void _epggrab_load ( void )
     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)
+      if (mod->type == EPGGRAB_OTA) {
+        mod->enabled = 1;
         epggrab_activate_module(mod, 1);
+      }
   }
 
   idnode_notify_changed(&epggrab_conf.idnode);