[vlc-devel] [PATCH] Update Twitch's client_id to use the one used by its website

luizfrdasilva at gmail.com luizfrdasilva at gmail.com
Fri Dec 27 16:02:01 CET 2019


From: Luiz Silva <luizfrdasilva at gmail.com>

The previous client_id is not working anymore, this commit updates it
to the same id used by Twitch's website.
---
 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
-- 
2.24.1



More information about the vlc-devel mailing list