From 95fe93a75106d4a57fcac6cb51540ba93a821836 Mon Sep 17 00:00:00 2001 From: luke bonham Date: Mon, 27 Jul 2015 13:05:56 +0200 Subject: [PATCH] #115: also catching http.*// --- widgets/mpd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2