]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: add back removed epg save timer init, fixes #3174
authorJaroslav Kysela <perex@perex.cz>
Mon, 19 Oct 2015 19:08:47 +0000 (21:08 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 Oct 2015 19:08:47 +0000 (21:08 +0200)
src/epggrab.c

index db13e7320473f82b7cb9461c32500fcc047abae8..799bf48e7df4c3e5171bf5a0ad2e086d1f280c5b 100644 (file)
@@ -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) */