Index: Slim/Player/Song.pm =================================================================== --- Slim/Player/Song.pm (revision 25613) +++ Slim/Player/Song.pm (working copy) @@ -472,8 +472,6 @@ } else { $pipeline = new FileHandle $command; } - - } if (!defined($pipeline)) { @@ -483,6 +481,11 @@ } $sock = $pipeline; + + if ($sock->opened() && !defined(Slim::Utils::Network::blocking($sock, 0))) { + logError("Can't set remote stream nonblocking for url: [$url]"); + return (undef, 'PROBLEM_OPENING', $url); + } $self->{'transcoded'} = 1;