Mailing List archive

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

[vdr] Re: VDR-1.3.18 can not save EPG = error : .//etc/vdr/epg.data.$$$: No such file or directory



christian jacobsen wrote:
Hallo Klaus,

I have tried testing VDR 1.3.18 and it seem that (vanilla) VDR has a
problem with saving and reading epg.dataon some systems. This is also
happening on other systems, see this thread on vdrportal.de :
http://www.vdrportal.de/board/thread.php?threadid=28280

Somehow a "./" is appended in front of the path+filename given to vdr :

ERROR: .//etc/vdr/epg.data.$$$: No such file or directory
ERROR (epg.c,896): No such file or directory


It probably is a bug with the "-E" switch doing this, unfortunatly I
could not test that yet, but I will post on the vdrportal URL above and
here on Monday if I find out something more ..


This is part of the line used for starting my VDR :

su -p -c /usr/local/src/VDR/vdr -c /etc/vdr -v /video0 -E
/etc/vdr/epg.data -s /usr/local/bin/vdrshutdown -L
/usr/local/src/VDR/PLUGINS/lib -r /usr/local/bin/nq.sh ...

Anyone here having the same problem ?

The same starup script (runvdr) works with 1.3.17 without problems.
Sorry, I broke this in 1.3.18.
Please try this:

--- vdr.c       2005/01/06 14:36:40     1.198
+++ vdr.c       2005/01/14 16:50:39
@@ -412,7 +412,10 @@
         }
      else if (*EpgDataFileName != '/' && *EpgDataFileName != '.')
         EpgDirectory = VideoDirectory;
-     cSchedules::SetEpgDataFileName(AddDirectory(EpgDirectory, EpgDataFileName));
+     if (EpgDirectory)
+        cSchedules::SetEpgDataFileName(AddDirectory(EpgDirectory, EpgDataFileName));
+     else
+        cSchedules::SetEpgDataFileName(EpgDataFileName);
      cSchedules::Read();
      }



Klaus




Home | Main Index | Thread Index