From 6145f171f7a82b9e98e8f41fc0a297b6b43e934c Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 16 Nov 2009 15:15:16 +0100 Subject: [PATCH] less output without debug --- bin/mplayer.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mplayer.pl b/bin/mplayer.pl index a21793c..62a0c97 100755 --- a/bin/mplayer.pl +++ b/bin/mplayer.pl @@ -157,7 +157,7 @@ sub fmt_mmss { sub html5tv { if ( ! $prop->{width} || ! $prop->{height} ) { - warn "SKIP no size yet\n"; + warn "SKIP no size yet\n" if $debug; return; } @@ -755,7 +755,7 @@ sub from_mplayer { } elsif ( $line =~ m{File not found} ) { die $line; } else { - warn "IGNORE $line"; + warn "IGNORE $line\n"; # if $debug; } } -- 2.20.1