From 2d3702b8507361c3c9f17fe290fc1d6af0cef983 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 22 May 2005 10:43:10 +0200 Subject: Fall back to 'summary.vdr' if there is no 'info.vdr' --- summary2info.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'summary2info.pl') diff --git a/summary2info.pl b/summary2info.pl index 4bf70624..8e80abe0 100755 --- a/summary2info.pl +++ b/summary2info.pl @@ -10,7 +10,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: summary2info.pl 1.1 2005/05/15 16:03:10 kls Exp $ +# $Id: summary2info.pl 1.2 2005/05/22 10:37:47 kls Exp $ $VideoDir = $ARGV[0] || die "please provide the name of the video directory\n"; @@ -29,7 +29,7 @@ for $SummaryFile (@SummaryFiles) { $data[$line] .= $_; } else { - $line++ unless ($_); + $line++; } } close(F); -- cgit v1.2.3