vlc | branch: master | Laurent Aimar <[email protected]> | Sat Jan 7 01:43:03 2012 +0100| [13295779a6dbc6924c28343e4ff47e5ef6345a40] | committer: Laurent Aimar
Fixed jamendo playlist demuxer. The check is a bit less strict to adapt to the various URL we can get. It closes #5661. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13295779a6dbc6924c28343e4ff47e5ef6345a40 --- share/lua/playlist/jamendo.lua | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/share/lua/playlist/jamendo.lua b/share/lua/playlist/jamendo.lua index 473d01c..9edbccf 100644 --- a/share/lua/playlist/jamendo.lua +++ b/share/lua/playlist/jamendo.lua @@ -25,8 +25,10 @@ require "simplexml" -- Probe function. function probe() return vlc.access == "http" - and string.match( vlc.path, "jamendo.com/get2/" ) - and string.match( vlc.path, "/track/xml/" ) + and string.match( vlc.path, "api.jamendo.com/" ) + and string.match( vlc.path, "get2" ) + and string.match( vlc.path, "track" ) + and string.match( vlc.path, "xml" ) end -- Parse function. _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
