[vlc-devel] [PATCH] Update Twitch's client_id to use the one used by its website
Marvin Scholz
epirat07 at gmail.com
Tue Jan 7 17:42:03 CET 2020
On 27 Dec 2019, at 16:02, luizfrdasilva at gmail.com wrote:
> 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.
Hi, thanks for the patch and sorry for the late reply.
Code-wise this is ok, its more a question if we actively
want to pose as Twitch website in order to play their videos/streams.
For Youtube we kind of already do the same I guess, so IMO probably
ok but I would like more opinions about that.
> ---
> 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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list