From 65c49045f33485721103cdeaae63aa2c598235e7 Mon Sep 17 00:00:00 2001 From: Mikkel Kroman Date: Wed, 20 Aug 2014 21:54:33 +0200 Subject: Fixed socket not timing out at specified interval --- scripts/mpd.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/mpd.pl b/scripts/mpd.pl index 789bdaf..035aba1 100644 --- a/scripts/mpd.pl +++ b/scripts/mpd.pl @@ -31,6 +31,7 @@ # 0.6: Added some more format directives(time, album) # # Added support for password authentication # # 0.7: Added format directives for bitrate and volume # +# Fixed socket not timing out at specified interval # ####################################################################### use strict; @@ -77,7 +78,7 @@ sub np { Proto => 'tcp', PeerPort => $MPD{'port'}, PeerAddr => $MPD{'host'}, - timeout => $MPD{'timeout'} + Timeout => $MPD{'timeout'} ); if (not $socket) { -- cgit v1.2.3