Commit c8e9ec96 authored by Ilkka Ollakka's avatar Ilkka Ollakka

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)
parent db4d130f
......@@ -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=([^&]+)" )
......
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