vlc/vlc-3.0 | branch: master | Pierre Ynard <[email protected]> | Tue Nov 3 00:18:56 2020 +0100| [c101772ca9aeda1a5599f17eb753060a5e33d9e3] | committer: Pierre Ynard
youtube.lua: stop trying to double XML-decode title metadata This attribute isn't double-encoded now, and so attempting this is not just pointless but can theoretically lead to wrong output. (cherry picked from commit ff8edf3493ee0b4be700160da2b56b9c041ebb75) Signed-off-by: Pierre Ynard <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=c101772ca9aeda1a5599f17eb753060a5e33d9e3 --- share/lua/playlist/youtube.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua index 29e3f1e184..a34534d81c 100644 --- a/share/lua/playlist/youtube.lua +++ b/share/lua/playlist/youtube.lua @@ -339,7 +339,6 @@ function parse() if string.match( line, "<meta property=\"og:title\"" ) then _,_,name = string.find( line, "content=\"(.-)\"" ) name = vlc.strings.resolve_xml_special_chars( name ) - name = vlc.strings.resolve_xml_special_chars( name ) end if not description then _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
