From: Jaroslav Kysela Date: Mon, 19 Oct 2015 19:08:47 +0000 (+0200) Subject: epggrab: add back removed epg save timer init, fixes #3174 X-Git-Tag: v4.2.1~1871 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a0756c9207849effe25d79c97d1470237758e7d;p=thirdparty%2Ftvheadend.git epggrab: add back removed epg save timer init, fixes #3174 --- diff --git a/src/epggrab.c b/src/epggrab.c index db13e7320..799bf48e7 100644 --- a/src/epggrab.c +++ b/src/epggrab.c @@ -158,6 +158,10 @@ static void _epggrab_load ( void ) } } + if (epggrab_conf.epgdb_periodicsave) + gtimer_arm(&epggrab_save_timer, epg_save_callback, NULL, + epggrab_conf.epgdb_periodicsave * 3600); + idnode_notify_changed(&epggrab_conf.idnode); /* Load module config (channels) */