From: luke bonham Date: Fri, 1 Nov 2013 12:17:31 +0000 (+0100) Subject: issue #9 2nd attempt fix X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/3c56cf123a8b44cdd9a65b4e88432eac6670630e?ds=inline;hp=-c issue #9 2nd attempt fix --- 3c56cf123a8b44cdd9a65b4e88432eac6670630e diff --git a/widgets/mpd.lua b/widgets/mpd.lua index e3ed50d..58d9430 100644 --- a/widgets/mpd.lua +++ b/widgets/mpd.lua @@ -59,7 +59,7 @@ local function worker(args) date = "N/A" } - local f = io.popen(echo .. " | curl --connect-timeout 1 -fsm 1 " .. mpdh) + local f = io.popen(echo .. " | curl --connect-timeout 1 -fsm 3 " .. mpdh) for line in f:lines() do for k, v in string.gmatch(line, "([%w]+):[%s](.*)$") do