Commit d08ee143 authored by Pierre Ynard's avatar Pierre Ynard

vocaroo.lua: tighten URL probe function

Ref. #17488
parent 86015b88
......@@ -26,7 +26,7 @@ local fmt = "mp3"
-- Probe function.
function probe()
return ( vlc.access == "http" or vlc.access == "https" )
and string.match( vlc.path, "vocaroo%.com/i/" )
and string.match( vlc.path, "^vocaroo%.com/i/" )
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