[vlc-commits] soundcloud.lua: update API magic
Pierre Ynard
git at videolan.org
Tue Sep 12 23:44:13 CEST 2017
vlc/vlc-2.2 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Sep 12 23:20:54 2017 +0200| [6d78dc43220e001bec0b18b6a75e0b259fd9e058] | committer: Pierre Ynard
soundcloud.lua: update API magic
(cherry picked from commit d1270af295be9091ae24cb296ca3ede74ef9adb4)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=6d78dc43220e001bec0b18b6a75e0b259fd9e058
---
share/lua/playlist/soundcloud.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/lua/playlist/soundcloud.lua b/share/lua/playlist/soundcloud.lua
index 8b5f65fa6a..467a81dadf 100644
--- a/share/lua/playlist/soundcloud.lua
+++ b/share/lua/playlist/soundcloud.lua
@@ -46,10 +46,10 @@ function parse()
local track = string.match( line, "soundcloud:tracks:(%d+)" )
if track then
-- API magic
- local client_id = "2t9loNQH90kzJcsFCODdigxfp325aq4z"
+ local client_id = "WKcQQdEZw7Oi01KqtHWxeVSxNyRzgT8M"
-- app_version is not required by the API but we send it
-- anyway to remain unconspicuous
- local app_version = "1489155300"
+ local app_version = "1505226596"
local api = vlc.stream( "https://api.soundcloud.com/i1/tracks/"..track.."/streams?client_id="..client_id.."&app_version="..app_version )
if not api then
More information about the vlc-commits
mailing list