[vlc-commits] soundcloud.lua: match HTTPS use for secondary request with original one

Pierre Ynard git at videolan.org
Thu Oct 29 03:59:20 CET 2015


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Oct 29 03:35:13 2015 +0100| [a561e5fcb926708442f2f4e21d55d20989bccb00] | committer: Pierre Ynard

soundcloud.lua: match HTTPS use for secondary request with original one

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

 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 fbb984a..8dfbe7e 100644
--- a/share/lua/playlist/soundcloud.lua
+++ b/share/lua/playlist/soundcloud.lua
@@ -86,7 +86,7 @@ function parse()
         -- to remain unconspicuous
         local app_version = "a089efd"
 
-        local api = vlc.stream( "https://api.soundcloud.com/i1/tracks/"..track.."/streams?client_id="..client_id.."&app_version="..app_version..( secret and "&secret_token="..secret or "" ) )
+        local api = vlc.stream( vlc.access.."://api.soundcloud.com/i1/tracks/"..track.."/streams?client_id="..client_id.."&app_version="..app_version..( secret and "&secret_token="..secret or "" ) )
 
         if api then
             local streams = api:readline() -- data is on one line only



More information about the vlc-commits mailing list