]> git.sesse.net Git - vlc/blobdiff - share/lua/meta/art/10_googleimage.lua
Use lua's object syntactic sugar: a.b(a,c,d) => a:b(c,d)
[vlc] / share / lua / meta / art / 10_googleimage.lua
index c1370d0fb3138669d6c507ddde1dad39c6b7e612..f42714c81ced134a21d6549883c8a7cfdd308c3b 100644 (file)
@@ -31,7 +31,7 @@ end
 -- This is disabled because we have too much false positive by the inherent
 -- nature of this script.
 function fetch_art_disabled()
-    local meta = vlc.item.metas(vlc.item)
+    local meta = vlc.item:metas()
     if meta["artist"] and meta["album"] then
         title = meta["artist"].." "..meta["album"]
     elseif meta["title"] and meta["artist"] then