From: luke bonham Date: Mon, 27 Jul 2015 11:05:56 +0000 (+0200) Subject: #115: also catching http.*// X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/95fe93a75106d4a57fcac6cb51540ba93a821836 #115: also catching http.*// --- diff --git a/widgets/mpd.lua b/widgets/mpd.lua index d910fd1..cea4a78 100644 --- a/widgets/mpd.lua +++ b/widgets/mpd.lua @@ -89,7 +89,7 @@ local function worker(args) then helpers.set_map("current mpd track", mpd_now.title) - if string.match(mpd_now.file, "http://") == nil + if string.match(mpd_now.file, "http.*://") == nil then -- local file os.execute(string.format("%s %q %q %d %q", mpdcover, music_dir, mpd_now.file, cover_size, default_art))