vlc | branch: master | Pierre Ynard <[email protected]> | Wed Jan 13 08:24:23 2016 +0100| [064449074c771c3b1177cfd8f1a3e2615bdb27a8] | committer: Pierre Ynard
youtube.lua: fix title parsing for website changes Shallow fix only, but improved rationalization > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=064449074c771c3b1177cfd8f1a3e2615bdb27a8 --- share/lua/playlist/youtube.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua index 487d53f..d1d9e07 100644 --- a/share/lua/playlist/youtube.lua +++ b/share/lua/playlist/youtube.lua @@ -251,7 +251,7 @@ function parse() -- Try to find the video's title line = vlc.readline() if not line then break end - if string.match( line, "<meta name=\"title\"" ) then + 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 ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
