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
- To: vdr <vdr@linuxtv.org>
- Subject: [vdr] Master-Timer 0.5.0 broken with vdr.1.0.0-pre2
- From: Richard Cieply <richard.cieply@web.de>
- Date: Fri, 01 Mar 2002 15:25:08 +0100
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii; format=flowed
- Delivered-To: mhonarc@limes.convergence.de
- Reply-to: vdr@linuxtv.org
- Sender: richard.cieply@web.de
- Sender: vdr-bounce@linuxtv.org
- User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5
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