anxdpanic / plugin.video.twitch

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

IRC chat login fails #479

Open ghost opened 4 years ago

ghost commented 4 years ago

I double checked the URL after changing to Estuary from the default skin on OSMC and it was the same. I got my OAuth token and can see my followed channels so it seems to be working. But when I enabled the IRC chat and installed the noted addon the issue started.

The chat seems to connect but immediately responds with a Login failed message. OAuth token was double checked and reentered with no success.

This is also on a 100% clean install. The SD card was imaged clean last night with no other changes to it.

Did I happen to miss a step somewhere?

anxdpanic commented 4 years ago

https://github.com/MrSprigster/Twitch-on-Kodi/pull/472

ghost commented 4 years ago

I see a chat:edit and chat:view scope on the linked page. I wonder how those work if the login is removed? Perhaps it is handled by the normal login and just carries through somehow?

ghost commented 4 years ago

@anxdpanic I did some searching and found this that may help https://dev.twitch.tv/docs/authentication/#scopes see the bottom of the page for Chat and PubSub. I am not too familiar with addon development but is this something that may help here or does it belong as an issue for the dead IRC addon?

anxdpanic commented 4 years ago

I'm aware, supporting that would required yet another oauth token for the helix api which in general isn't a great fit for our use case. iirc pubsub would require the user to open and forward ports from inet -> add-on (absolutely not ideal).

ghost commented 4 years ago

Guessing that means chat on this add on is dead and probably not coming back? What do you suggest as an alternative aside from running a second PC for chat only when watching a stream, which is also not ideal.

bbhtt commented 4 years ago

@anxdpanic

I don't want to open an extra issue for this but would it be possible to implement the chat like this? The repository is archived by the owner but the last I used it (2-3 months ago), the chat worked, it didn't need any extra token just the twitch login and it wasn't an overlay.

misterti commented 3 years ago

What needs to be done to fix the chat? Should the addon instead be updated for the new api?

IdotMaster1 commented 3 years ago

I am having the same issue