vlc/vlc-2.2 | branch: master | Pierre Ynard <[email protected]> | Sat Dec 19 
18:08:24 2015 +0100| [ab096695e405df0bf93f05b33bce874b8686caec] | committer: 
Felix Paul Kühne

youtube.lua: resolve XML entities in Art URL

(cherry picked from commit 8cd7277cde3d929f7baa0db61ce6162a9848b25e)
Signed-off-by: Felix Paul Kühne <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=ab096695e405df0bf93f05b33bce874b8686caec
---

 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 9ccab97..8f27804 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -275,6 +275,7 @@ function parse()
             end
             if string.match( line, "<meta property=\"og:image\"" ) then
                 _,_,arturl = string.find( line, "content=\"(.-)\"" )
+                arturl = vlc.strings.resolve_xml_special_chars( arturl )
             end
             -- This is not available in the video parameters (whereas it
             -- is given by the get_video_info API as the "author" field)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to