[vlc-commits] anevia_streams.lua: partially tighten URL probe function

Pierre Ynard git at videolan.org
Wed Nov 2 02:21:11 CET 2016


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Nov  2 02:19:50 2016 +0100| [1dc89235f2a1f78ac2044a45784eb32063ddb2ab] | committer: Pierre Ynard

anevia_streams.lua: partially tighten URL probe function

Ref. #17488

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1dc89235f2a1f78ac2044a45784eb32063ddb2ab
---

 share/lua/playlist/anevia_streams.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/playlist/anevia_streams.lua b/share/lua/playlist/anevia_streams.lua
index 7a2ca16..93db6bb 100644
--- a/share/lua/playlist/anevia_streams.lua
+++ b/share/lua/playlist/anevia_streams.lua
@@ -27,7 +27,7 @@
 -- Probe function.
 function probe()
     return vlc.access == "http"
-        and string.match( vlc.path, "list_streams.idp" )
+        and string.match( vlc.path, "/list_streams%.idp" )
 end
 
 -- Parse function.



More information about the vlc-commits mailing list