[vlc-commits] soundcloud.lua: support HTTPS

Pierre Ynard git at videolan.org
Mon Jul 28 06:02:51 CEST 2014


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Mon Jul 28 06:01:41 2014 +0200| [28b8fd48c6f86b56b09f8eb600d7e26fe0bf714f] | committer: Pierre Ynard

soundcloud.lua: support HTTPS

The website uses HTTPS by default so that was confusing

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

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

diff --git a/share/lua/playlist/soundcloud.lua b/share/lua/playlist/soundcloud.lua
index bd9f5d6..6c1db69 100644
--- a/share/lua/playlist/soundcloud.lua
+++ b/share/lua/playlist/soundcloud.lua
@@ -22,7 +22,7 @@
 
 -- Probe function.
 function probe()
-    return vlc.access == "http"
+    return ( vlc.access == "http" or vlc.access == "https" )
         and string.match( vlc.path, "soundcloud%.com/.+/.+" )
 end
 



More information about the vlc-commits mailing list