Skip to content

Commit 3b71190

Browse files
committed
fi_sv: output only the requested channels
previously it would output all channels ignoring the config file
1 parent b3bde04 commit 3b71190

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

grab/fi_sv/tv_grab_fi_sv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,9 @@ sub write_listings_data
465465
next CHANNEL;
466466
}
467467

468+
# skip if channel not requested by user
469+
next CHANNEL if !(grep { $_ eq $c_channel_id } @channels);
470+
468471
say " Processing $c_channel_id" if $opt->{debug};
469472

470473
my $t_schedule = $t_channel->look_down('_tag' => 'ul', 'class' => 'schedule-list');

0 commit comments

Comments
 (0)