[vlc-commits] youtube.lua: update to new website changes
Pierre Ynard
git at videolan.org
Thu Jan 19 03:50:40 CET 2012
vlc/vlc-1.2 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Jan 19 03:45:19 2012 +0100| [f459d157b3ccdeb83c04d9776e9b8729f76f61ec] | committer: Pierre Ynard
youtube.lua: update to new website changes
(cherry picked from commit 0137d3be215be27d29224bd04f921e41e9cac145)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=f459d157b3ccdeb83c04d9776e9b8729f76f61ec
---
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
More information about the vlc-commits
mailing list