Commit 13295779 authored by Laurent Aimar's avatar 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.
parent ffc31b5c
......@@ -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.
......
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