Talk:KAworu MPD Widget
From awesome
In mpd 0.14.1-1 the answer for a wrong command is:
ACK [5@0] {} unknown command "foo"
so the while loop must be:
while not (line:match("^OK$") or line:match(string.format("unknown command \"%s\"", action))) do
maybe that was just a typo or they changed it in some version