X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/89bad3b56b7a76318113f3831b74c156044aa34b..2e8fd41bc3ca120ae71658aeda98bcb91a0fd9d9:/widgets/mpd.lua 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))