[vlc-devel] commit: fix error: lua playlist warning: Error while runing script ( Ilkka Ollakka )
git version control
git at videolan.org
Sat Jun 28 23:21:45 CEST 2008
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Jun 29 00:22:21 2008 +0300| [c8e9ec9612c5421b1299355dfcd20516fab58ba3]
fix error: lua playlist warning: Error while runing script
share/lua/meta/googleimage.lua, function fetch_art(): share/lua/meta/googleimage.lua:43: calling
'stream' on bad self (string expected, got table)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8e9ec9612c5421b1299355dfcd20516fab58ba3
---
share/lua/meta/googleimage.lua | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/share/lua/meta/googleimage.lua b/share/lua/meta/googleimage.lua
index 8c27663..e203c9c 100644
--- a/share/lua/meta/googleimage.lua
+++ b/share/lua/meta/googleimage.lua
@@ -40,7 +40,7 @@ function fetch_art()
else
return nil
end
- fd = vlc:stream( "http://images.google.com/images?q=" .. get_query( title ) )
+ fd = vlc.stream( "http://images.google.com/images?q=" .. get_query( title ) )
page = fd:read( 65653 )
fd = nil
_, _, arturl = string.find( page, "imgurl=([^&]+)" )
More information about the vlc-devel
mailing list