[vlc-commits] vimeo.lua: support channel video page URLs

Pierre Ynard git at videolan.org
Tue Feb 2 03:31:26 CET 2016


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Feb  2 03:29:32 2016 +0100| [e08420e5543dd34a8510da2d4e43a67938fda86a] | committer: Pierre Ynard

vimeo.lua: support channel video page URLs

Fix #16195

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

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

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



More information about the vlc-commits mailing list