summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave <vdr@pickles.me.uk>2010-09-19 09:52:07 +0100
committerDave <vdr@pickles.me.uk>2010-09-19 09:52:07 +0100
commit59f78a41725524d56c442c1d39734f0a1d905958 (patch)
tree08446a1411fa59ff8fee2557464f3fef5db0e219
parent2ec66f6dc2007f377e07f5ec487b1dc947d84195 (diff)
downloadvdrtva-59f78a41725524d56c442c1d39734f0a1d905958.tar.gz
vdrtva-59f78a41725524d56c442c1d39734f0a1d905958.tar.bz2
Don't create link if not part of a series (corrects f94a96ed)
-rwxr-xr-xseries.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/series.pl b/series.pl
index af3b75e..e5d97cf 100755
--- a/series.pl
+++ b/series.pl
@@ -75,8 +75,8 @@ sub check_timers {
my $start_t = $timer->{tstart};
my $stop_t = $timer->{tstop};
foreach my $prog (@epg) {
- next if $scrid eq 'NULL';
my ($sid, $st, $et, $id, $icrid, $scrid) = split(',', $prog);
+ next if $scrid eq 'NULL';
if (($sid eq $channelid) && ($start_t <= $st) && ($stop_t >= $et)) {
if (exists $links{$scrid}) { # Existing series
if ($links{$scrid} !~ /$icrid/) {
@@ -225,7 +225,8 @@ sub check_split_recordings {
}
# Scan the timers list for events which have changed since the timer was
-# set. For now we just report the error. TODO: if the event has moved maybe # we should try to find the new one?
+# set. For now we just report the error. TODO: if the event has moved maybe
+# we should try to find the new one?
sub check_changed_events {