aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fair-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fair-viewer')
-rwxr-xr-xbin/fair-viewer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fair-viewer b/bin/fair-viewer
index 0124453..3ee9f24 100755
--- a/bin/fair-viewer
+++ b/bin/fair-viewer
@@ -2095,7 +2095,7 @@ sub rate_videos {
}
sub get_and_play_video_ids {
- (my @ids = grep { get_valid_video_id($_) } @_) || return;
+ (my @ids = grep { defined($_) } map { get_valid_video_id($_) } @_) || return;
foreach my $id (@ids) {
my $info = $yv_obj->video_details($id);