vlc | branch: master | Pierre Ynard <linkfa...@yahoo.fr> | Thu Jan 19 03:45:19 
2012 +0100| [0137d3be215be27d29224bd04f921e41e9cac145] | committer: Pierre Ynard

youtube.lua: update to new website changes

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

 share/lua/playlist/youtube.lua |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua
index fd4db30..20cb3a1 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -95,8 +95,8 @@ function parse()
                 _,_,artist = string.find( line, "href=\"/user/([^\"]*)\"" )
             end
             -- JSON parameters, also formerly known as "swfConfig",
-            -- "SWF_ARGS", "swfArgs" ...
-            if string.match( line, "PLAYER_CONFIG" ) then
+            -- "SWF_ARGS", "swfArgs", "PLAYER_CONFIG" ...
+            if string.match( line, "playerConfig" ) then
                 if not fmt then
                     prefres = get_prefres()
                     if prefres >= 0 then

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to