[vlc-commits] vimeo.lua: tighten player.vimeo.com probe

Pierre Ynard git at videolan.org
Sat Nov 5 02:36:18 CET 2016


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Nov  5 02:34:58 2016 +0100| [d3a8f14c109ea575f839395baab1a7e979d6f6da] | committer: Pierre Ynard

vimeo.lua: tighten player.vimeo.com probe

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

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

diff --git a/share/lua/playlist/vimeo.lua b/share/lua/playlist/vimeo.lua
index 4819fbd..870dfd5 100644
--- a/share/lua/playlist/vimeo.lua
+++ b/share/lua/playlist/vimeo.lua
@@ -29,7 +29,7 @@ function probe()
     return ( vlc.access == "http" or vlc.access == "https" )
         and ( string.match( path, "^vimeo%.com/%d+$" )
               or string.match( path, "^vimeo%.com/channels/(.-)/%d+$" )
-              or string.match( path, "^player%.vimeo%.com" ) )
+              or string.match( path, "^player%.vimeo%.com/" ) )
         -- do not match other addresses,
         -- else we'll also try to decode the actual video url
 end



More information about the vlc-commits mailing list