diff --git a/widgets/mpd.lua b/widgets/mpd.lua index c437347..5af898b 100644 --- a/widgets/mpd.lua +++ b/widgets/mpd.lua @@ -71,7 +71,6 @@ local function worker(args) for k, v in string.gmatch(line, "([%w]+):[%s](.*)$") do if k == "state" then mpd_now.state = v elseif k == "file" then mpd_now.file = v - elseif k == "Name" then mpd_now.name = escape_f(v) elseif k == "Artist" then mpd_now.artist = escape_f(v) elseif k == "Title" then mpd_now.title = escape_f(v) elseif k == "Album" then mpd_now.album = escape_f(v) diff --git a/widgets/weather.lua b/widgets/weather.lua index 68abae9..baf82d7 100644 --- a/widgets/weather.lua +++ b/widgets/weather.lua @@ -30,7 +30,7 @@ local setmetatable = setmetatable local function worker(args) local weather = {} local args = args or {} - local APPID = args.APPID or 1 -- mandatory + local APPID = args.APPID or "3e321f9414eaedbfab34983bda77a66e" -- lain default local timeout = args.timeout or 900 -- 15 min local timeout_forecast = args.timeout or 86400 -- 24 hrs local current_call = "curl -s 'http://api.openweathermap.org/data/2.5/weather?id=%s&units=%s&lang=%s&APPID=%s'" diff --git a/wiki b/wiki index d7aa1a7..35cc75d 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit d7aa1a7b8428211a1c4c71865fd64302e013d62b +Subproject commit 35cc75dcb382fccdec6941698a1e96cc875fae1f