From 782f04ab357077d4b4d573030faa2337a50a7e76 Mon Sep 17 00:00:00 2001 From: dinkypumpkin Date: Sat, 30 Jul 2016 19:39:53 +0100 Subject: [PATCH] Fixed delayed download progress display in Web PVR Manager STDERR needs to be unbuffered so that the download progress display isn't delayed for HLS streams. Closes #270 --- get_iplayer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/get_iplayer b/get_iplayer index 8ef7f1b6..8890b2a4 100755 --- a/get_iplayer +++ b/get_iplayer @@ -76,7 +76,8 @@ use constant FB_EMPTY => sub { '' }; my %SIGORIG; # Save default SIG actions $SIGORIG{$_} = $SIG{$_} for keys %SIG; -$|=1; +STDOUT->autoflush(1); +STDERR->autoflush(1); # Save proxy env var my $ENV_HTTP_PROXY = $ENV{HTTP_PROXY} || $ENV{http_proxy};