summaryrefslogtreecommitdiff
path: root/summary2info.pl
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-22 10:43:10 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-22 10:43:10 +0200
commit2d3702b8507361c3c9f17fe290fc1d6af0cef983 (patch)
tree4f178fb14ea41540d15fb2c24a9872bf56426e15 /summary2info.pl
parenta0e65853042dacd888921a435d7b3d549e7d894e (diff)
downloadvdr-2d3702b8507361c3c9f17fe290fc1d6af0cef983.tar.gz
vdr-2d3702b8507361c3c9f17fe290fc1d6af0cef983.tar.bz2
Fall back to 'summary.vdr' if there is no 'info.vdr'
Diffstat (limited to 'summary2info.pl')
-rwxr-xr-xsummary2info.pl4
1 files changed, 2 insertions, 2 deletions
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);