vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Wed May 21 17:44:20 2014 +0200| [4553ce6dac0b1aa9a46d6b033eb866581900f722] | committer: Francois Cartegnie
lua: lastfm: fix matching > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4553ce6dac0b1aa9a46d6b033eb866581900f722 --- share/lua/meta/art/03_lastfm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/lua/meta/art/03_lastfm.lua b/share/lua/meta/art/03_lastfm.lua index 418146c..71db5bd 100644 --- a/share/lua/meta/art/03_lastfm.lua +++ b/share/lua/meta/art/03_lastfm.lua @@ -49,7 +49,7 @@ function fetch_art() if not fd then return nil end page = fd:read( 65653 ) fd = nil - _, _, arturl = string.find( page, "<img width=\"174\" src=\"([^\"]+)\" class=\"art\" />\n" ) + _, _, arturl = string.find( page, "<meta property=\"og:image\" content=\"([^\"]+)\" />" ) -- Don't use default album-art (not found one) if not arturl or string.find( arturl, "default_album_mega.png") then return nil _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits