Mailing List archive

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

[vdr] Master-Timer 0.5.0 broken with vdr.1.0.0-pre2



Hi there,

master-time doesn't work any more when used with vdr.1.0.0-pre2.
Here is a snipplet of the debug output of master-timer:
(it shows up when *.dat is deleted in .master-timer).
----- snipp  -----
Start deepblack-dump
No Entries
End deepblack-dump
Running parseepgdata.pl
Debug-Level = 511
End Config
epg.data: Parsing data
epg.data: No new entries found
Running master-timer.pl
Debug-Level = 511
End Config
Missing program.dat. Did you start parseepgdata.pl? at 
/usr/vdr-tools/master-timer/master-timer.pl line 224, <FI> line 44.
Error while running master-timer.pl at 
/usr/vdr-tools/master-timer/run-mt.pl line 78, <FI> line 44.
----- snipp -----

If old *.dat exist in .master-timer then the script simply ends without 
an error because of 'no new entries found'.
Therfor no new timer is being programmed ever.

Crosschecking it, it shows that the problem is introduced by the new 
epg.data format with the new filed <table id>.
Therefor parseepgdata.pl delivers wrong data.

Here is a small patch against it:

--- parseepgdata.pl.bak Fri Mar  1 14:58:53 2002
+++ parseepgdata.pl     Fri Mar  1 15:15:58 2002
@@ -130,7 +130,7 @@
         last;
        }
        # Begin Timer
-      elsif ($lines[$count-1] =~ /^E\s(\d+)\s+(\d+)\s+(\d+)$/) {
+      elsif ($lines[$count-1] =~ /^E\s(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) {
         # Undef this Variables because it is possibel that not every 
timer uses this values
         undef $duration;
         undef $subtitle;

Hope this helps.
Have fun.
   Richard





Home | Main Index | Thread Index