vlc | branch: master | Pierre Ynard <linkfa...@yahoo.fr> | Wed Nov 2 01:52:25 2016 +0100| [d08ee1432b58cc2ea0dd866aece51bd2827de11e] | committer: Pierre Ynard
vocaroo.lua: tighten URL probe function Ref. #17488 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d08ee1432b58cc2ea0dd866aece51bd2827de11e --- share/lua/playlist/vocaroo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/lua/playlist/vocaroo.lua b/share/lua/playlist/vocaroo.lua index cc1d264..a4c632f 100644 --- a/share/lua/playlist/vocaroo.lua +++ b/share/lua/playlist/vocaroo.lua @@ -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. _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits