Commit 5d6abdc3 authored by Rémi Duraffort's avatar Rémi Duraffort

lua_http: fix /art url

parent 2205d8f8
......@@ -140,7 +140,7 @@ end
-- FIXME: Experimental art support. Needs some cleaning up.
function callback_art(data, request)
local art = function(data, request)
local item = vlc.item()
local item = vlc.input.item()
local metas = item:metas()
local filename = vlc.strings.decode_uri(string.gsub(metas["artwork_url"],"file://",""))
local size = vlc.net.stat(filename).size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment