Commit 056b713c authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Fixed jamendo playlist demuxer.

The check is a bit less strict to adapt to the various URL we can get.
It closes #5661.
(cherry picked from commit 13295779)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4c49c016
...@@ -25,8 +25,10 @@ require "simplexml" ...@@ -25,8 +25,10 @@ require "simplexml"
-- Probe function. -- Probe function.
function probe() function probe()
return vlc.access == "http" return vlc.access == "http"
and string.match( vlc.path, "jamendo.com/get2/" ) and string.match( vlc.path, "api.jamendo.com/" )
and string.match( vlc.path, "/track/xml/" ) and string.match( vlc.path, "get2" )
and string.match( vlc.path, "track" )
and string.match( vlc.path, "xml" )
end end
-- Parse function. -- Parse function.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment