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

Luiz Silva git at videolan.org
Tue Apr 21 12:12:31 CEST 2020


vlc/vlc-3.0 | branch: master | Luiz Silva <luizfrdasilva at gmail.com> | Fri Dec 27 12:02:01 2019 -0300| [33c588bf7d97bf05de2876b4764a0659a5aab333] | committer: Hugo Beauzée-Luyssen

twitch.lua: update API magic

The previous client_id is not working anymore, this commit updates it
to the same id used by Twitch's website.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>
(cherry picked from commit 37ae86693e4becda6b8c51eb65d4fddce8e3c866)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 share/lua/playlist/twitch.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/playlist/twitch.lua b/share/lua/playlist/twitch.lua
index c4c8d5fe36..3d7836f51a 100644
--- a/share/lua/playlist/twitch.lua
+++ b/share/lua/playlist/twitch.lua
@@ -58,7 +58,7 @@ end
 -- Make a request to the Twitch API endpoint given by url
 -- Returns: obj, err
 function twitch_api_req(url)
-    local obj, pos, err = parse_json(url .. "?client_id=1ht9oitznxzdo3agmdbn3dydbm06q2")
+    local obj, pos, err = parse_json(url .. "?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko")
 
     if err then
         return nil, "Error getting JSON object: " .. err



More information about the vlc-commits mailing list