]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Load program guide immediately at start
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 19 Aug 2007 16:48:35 +0000 (16:48 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 19 Aug 2007 16:48:35 +0000 (16:48 +0000)
epg_xmltv.c

index 88917b3c4327af1a144014fd6b6262013f1ded4e..f78f0d195a863faf2c8dd4bec9e3fa5938f67ec6 100644 (file)
@@ -377,14 +377,13 @@ xmltv_thread(void *aux)
   xmltvreload = 1;
   while(1) {
 
-    sleep(10);
-
     if(xmltvreload) {
       xmltvreload = 0;
       xmltv_load();
     }
 
     xmltv_transfer();
+    sleep(10);
 
   }
 }