]> git.sesse.net Git - vlc/commitdiff
soundcloud.lua: support HTTPS
authorPierre Ynard <linkfanel@yahoo.fr>
Mon, 28 Jul 2014 04:01:41 +0000 (06:01 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Mon, 28 Jul 2014 04:01:41 +0000 (06:01 +0200)
The website uses HTTPS by default so that was confusing

share/lua/playlist/soundcloud.lua

index bd9f5d6f231dc1001ed1872d6f994d25a24e361b..6c1db6968deafe13732f2c3b05ac5649fff677e4 100644 (file)
@@ -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