Bug in vdr-addon-tvmovie2vdr: Incorect event descriptions created

Michael Schmeing michael at michael-schmeing.de
Wed Mar 8 18:14:18 UTC 2006


For some time now I had the problem that tvmovie made my VDR crash
when trying to  update the EPG. It turned out that tvm2vdr.pl created
event blocks of the form
E
T
D
e
which do not conform to the required format of VDR. The attached patch
checks whether there are any arguments for the E and T lines and
suppresses sending of the record if either line is empty. For me that
solved this problem.

Best regards
Michael Schmeing
-- 
Michael Schmeing
E-Mail:   michael at michael-schmeing.de
-------------- next part --------------
--- /usr/bin/tvm2vdr.pl	2006-01-03 19:49:46.000000000 +0100
+++ tvm2vdr.pl	2006-03-04 11:52:44.000000000 +0100
@@ -210,12 +210,15 @@
 		}
 
 
+		if ($eline ne "" && $tline ne "")
+		{
 		WriteEPG("E $eline"); 
 		WriteEPG("T $tline");
 		WriteEPG("S $sline") if ($sline ne "");
 		WriteEPG("D $dline") if ($dline ne "");
 		WriteEPG("e");
 	}
+	}
 	WriteEPG("c");
 	unless($novdr) {
 	  my($result) = $SVDRP->SendCMD(".");


More information about the pkg-vdr-dvb-devel mailing list