anxdpanic / plugin.video.twitch

Watch your favorite gaming streams on Kodi
https://twitchaddon.page.link/forum
263 stars 81 forks source link

no connection to the Twitch API. #690

Open AnimeshnikMC opened 8 months ago

AnimeshnikMC commented 8 months ago

Context

Please provide any relevant information about your setup


Expected Behavior

...


Current Behavior

When I try to log into the addon, it says that there is no connection to the Twitch API.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. running Kodi
  2. trying to run an addon

Log

Please include a complete

2023-10-12 00:54:33.618 T:2664     info <general>: Skipped 2 duplicate messages..
2023-10-12 00:54:33.618 T:2664    error <general>: Traceback (most recent call last):

2023-10-12 00:54:33.619 T:2664    error <general>: 
2023-10-12 00:54:33.619 T:2664    error <general>:   File "C:\Users\Prototype\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\router.py", line 290, in run
                                                       twitch_api = api.Twitch()

2023-10-12 00:54:33.619 T:2664    error <general>: 
2023-10-12 00:54:33.619 T:2664    error <general>:   File "C:\Users\Prototype\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\addon\api.py", line 50, in __init__
                                                       if not self.valid_private_token(self.private_client_id, self.private_access_token):

2023-10-12 00:54:33.619 T:2664    error <general>: 
2023-10-12 00:54:33.619 T:2664    error <general>:   File "C:\Users\Prototype\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\addon\common\cache.py", line 103, in memoizer
                                                       result = func(*args, **kwargs)

2023-10-12 00:54:33.619 T:2664    error <general>: 
2023-10-12 00:54:33.619 T:2664    error <general>:   File "C:\Users\Prototype\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\addon\api.py", line 111, in valid_private_token
                                                       if token_check['client_id'] != self.private_client_id:

2023-10-12 00:54:33.619 T:2664    error <general>: 
2023-10-12 00:54:33.619 T:2664    error <general>: KeyError: 'client_id'

2023-10-12 00:54:33.619 T:2664    error <general>: 
2023-10-12 00:54:33.619 T:2664    error <general>: Twitch: None

Additional Information

It all started on October 9-10, 2023


AnimeshnikMC commented 8 months ago

Sorry I was inattentive. problem solved please close

Boronsbruder commented 7 months ago

How did you solve it? I have the same Problem here after upgrading to Nexus

Solved it too now. You need to update the oauth-token in "subscriber / Twitch Turbo"