[vlc-commits] youtube.lua: resolve XML entities in Art URL
Pierre Ynard
git at videolan.org
Sat Dec 19 18:08:55 CET 2015
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Dec 19 18:08:24 2015 +0100| [8cd7277cde3d929f7baa0db61ce6162a9848b25e] | committer: Pierre Ynard
youtube.lua: resolve XML entities in Art URL
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cd7277cde3d929f7baa0db61ce6162a9848b25e
---
share/lua/playlist/youtube.lua | 1 +
1 file changed, 1 insertion(+)
diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua
index f048141..487d53f 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -265,6 +265,7 @@ function parse()
if string.match( line, "<meta property=\"og:image\"" ) then
_,_,arturl = string.find( line, "content=\"(.-)\"" )
+ arturl = vlc.strings.resolve_xml_special_chars( arturl )
end
if string.match(line, "\"author\":\"(.-)\",") then
More information about the vlc-commits
mailing list