Commit a561e5fc authored by Pierre Ynard's avatar Pierre Ynard

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

parent d4b92298
...@@ -86,7 +86,7 @@ function parse() ...@@ -86,7 +86,7 @@ function parse()
-- to remain unconspicuous -- to remain unconspicuous
local app_version = "a089efd" 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 if api then
local streams = api:readline() -- data is on one line only local streams = api:readline() -- data is on one line only
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment