[vlc-commits] soundcloud.lua: update API magic

Pierre Ynard git at videolan.org
Mon Dec 5 07:23:30 CET 2016


vlc/vlc-2.2 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Fri Dec  2 11:30:14 2016 +0100| [335114f7742682dbfebcea2437d6f18de25e4405] | committer: Pierre Ynard

soundcloud.lua: update API magic

(cherry picked from commit f7686767fc7f135d45e294e7ff2409d65240145a)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

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

 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 0e0c629..3ad75670 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 = "02gUJC0hH2ct1EGOcYXQIzRFU91c72Ea"
+                local client_id = "fDoItMDbsbZz8dY16ZzARCZmzgHBPotA"
                 -- app_version is not required by the API but we send it
                 -- anyway to remain unconspicuous
-                local app_version = "a089efd"
+                local app_version = "1480607078"
 
                 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