From: Jaroslav Kysela Date: Tue, 29 Sep 2015 18:38:35 +0000 (+0200) Subject: epggrab: fix the initial settings for OTA modules (enabled) X-Git-Tag: v4.2.1~2022 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2e0bdbfb141090ef2383776c974bb54f8f42e46;p=thirdparty%2Ftvheadend.git epggrab: fix the initial settings for OTA modules (enabled) --- diff --git a/src/epggrab.c b/src/epggrab.c index 58b68a587..2db756c68 100644 --- a/src/epggrab.c +++ b/src/epggrab.c @@ -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);