]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Fixed socket not timing out at specified interval
authorMikkel Kroman <redacted>
Wed, 20 Aug 2014 19:54:33 +0000 (21:54 +0200)
committerMikkel Kroman <redacted>
Wed, 20 Aug 2014 19:54:33 +0000 (21:54 +0200)
_data/scripts.yaml
scripts/mpd.pl

index d79a183f69221e3c0075c960379e82fb6f762746..be997d7d5ee7dc22d726ca3acac568ce1d6cd9b0 100644 (file)
   contact: "diozaka@gmx.de, code@aibor.de, mk@maero.dk"
   description: "print the song you are listening to"
   filename: "mpd.pl"
-  modified: "2014-08-20 04:23:10"
+  modified: "2014-08-20 21:53:24"
   license: "GPLv2"
   modules: "IO::Socket"
   name: "mpd"
index 789bdafef44814b89f9f960e376a0ec933a2c701..035aba1864f55578a3f00c3d0c9e8cf0ae87ca1c 100644 (file)
@@ -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) {
git clone https://git.99rst.org/PROJECT