[vlc-commits] commit: lua_http: fix /art url ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sat Apr 10 11:17:32 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Apr  9 17:44:39 2010 +0200| [5d6abdc3f73b43d0f41d2599d2f59f90c8deee84] | committer: Rémi Duraffort 

lua_http: fix /art url

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d6abdc3f73b43d0f41d2599d2f59f90c8deee84
---

 share/lua/intf/http.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/intf/http.lua b/share/lua/intf/http.lua
index c48e6bd..5481941 100644
--- a/share/lua/intf/http.lua
+++ b/share/lua/intf/http.lua
@@ -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



More information about the vlc-commits mailing list