fgl27 / SmartTwitchTV

A Twitch web client that works on Android TVs and web base systems
GNU General Public License v3.0
366 stars 28 forks source link

VOD Chat not moving after a few messages #145

Closed RyanSnow25 closed 1 year ago

RyanSnow25 commented 1 year ago

Live channel chat moves as usual, but when I view a VOD, the VOD chat moves then stops at a certain point. This has been happening since yesterday (May 4, 2023).

Using a Xiaomi Box S on a Sony TV.

fgl27 commented 1 year ago

What vod exactly? At what point it stops?

RyanSnow25 commented 1 year ago

EDIT: (sorry misfire on close comment button)

It happened when I checked a streamer's vod of her May 4 stream. I checked another streamer's vod of the same date, and the same issue is there. Same also, on another streamer on his May 5 stream vod. Lastly, I checked another vod from 2 months ago, same issue. The messages stop at a 2-minute mark, from what I observed.

fgl27 commented 1 year ago

I managed to reproduce the issue, twitch blocked access to one of they chat vod API.

I add the above workaround and pushed an update.

Test let me know.

fgl27 commented 1 year ago

This is a temp maybe permanent fix as there is no other option.

This workaround will allow the vod chat to work but may not show all chat messages in case there are too many (50+) in a single second, something that isn't a big issue as the app can't display on the screen that many anyway, so skip some will not be noticeable.

On regular chats where we have just a few msg a second all will show OK.

I just wanna document this here.

RyanSnow25 commented 1 year ago

Tested it on the May 4 vod and 2 month old vod, both back to working as intended. I don't usually tune in to the chat of streams with many viewers/messages so I can't say I'll notice the workaround. I'm closing the issue; reopening it/opening a new one if I find something related to it again (or you wanna continue doing something here, I'm new to gitHub so not exactly sure how it works here).

Thank you :)

fgl27 commented 1 year ago

This workaround will allow the vod chat to work but may not show all chat messages in case there are too many (50+) in a single second, something that isn't a big issue as the app can't display on the screen that many anyway, so skip some will not be noticeable.

I push a change to not use the workaround, but in the future chat may stop working again if so let me know @RyanSnow25