A way to force writing the epg.data ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Great, I have to look on how to apply such a patch against vdr-1.3.37.
>
> A grep for epg.data should quickly unravel where VDR looks if the 10
> minutes are over.

This one should work:

--- vdr-1.3.37/epg.c~        2005-11-11 14:37:43.000000000 +0100
+++ vdr-1.3.37/epg.c    2005-12-09 20:54:31.000000000 +0100
@@ -882,6 +882,12 @@
      lastCleanup = now;
      ReportEpgBugFixStats(true);
      }
+  struct stat st;
+  if (!epgDataFileName || stat (epgDataFileName,&st) != 0) {
+     lastDump = 0;
+  } else {
+     lastDump = st.st_mtime;
+  }
   if (epgDataFileName && now - lastDump > 600) {
      cSafeFile f(epgDataFileName);
      if (f.Open()) {

=== end of patch ===

Olaf



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux