pixeltris / TwitchAdSolutions

7.6k stars 441 forks source link

Very frequent Player Error on VAFT #271

Open TsukiZero opened 1 month ago

TsukiZero commented 1 month ago

I know not why, but the player keeps getting errors far frequently. Good thing I got a script to reset on error.

pixeltris commented 1 month ago

There was a fix for error 1000 a little while ago https://github.com/pixeltris/TwitchAdSolutions/commit/644ac7a8217880597db52b506ae4d3ded287bedc

I haven't been watching Twitch much lately but I've seen a few midrolls without issues. Which browser are you using?

xxAlex7 commented 1 month ago

I have the same problem here and it started recently. Player errors, black screen with infinite loading when trying to start a broadcast and freezing. I tested the userscript and uBlock versions, both with the same problem (I don't know why but the uBlock version has more problems than userscript version). I also tested video-swap and vaft, video-swap is a little more stable than vaft but still has problems. I use Windows 11, Google Chrome and Tampermonkey, both updated to the latest version available.

TsukiZero commented 1 month ago

It appears Amazon has another new check? This pops up in the console when the error happens Player stopping playback - error MediaPlaylist:4 (ErrorInvalidData code 0 - Response body is not a valid M3U8.)

pixeltris commented 1 month ago

Are you sure you're using the latest version of the script? That's the same error log as the previous problem. The following is the only place where the m3u8 body is modified now:

https://github.com/pixeltris/TwitchAdSolutions/blob/39666c7bb1446b3d5ac711d43e6b2ce5a5e54b2f/video-swap-new/video-swap-new.user.js#L193-L195

TsukiZero commented 1 month ago

I'm using the VAFT, since it still allows me to see the latency to streamer.

pixeltris commented 1 month ago

OK I'll change the title of this issue to VAFT then. The scripts work in slightly different ways.

TsukiZero commented 4 weeks ago

I've had put Video Swap? huh, my bad, brain wasn't functioning from half sleeps.

xxAlex7 commented 3 weeks ago

OK I'll change the title of this issue to VAFT then. The scripts work in slightly different ways.

After the last update userscript versions of vaft and video-swap-new works fine, thanks for the update

TsukiZero commented 2 weeks ago

VAFT hasn't been changed yet, so this still happens, Alex. image

xxAlex7 commented 2 weeks ago

VAFT hasn't been changed yet, so this still happens, Alex. image

I'm using Tampermonkey + vaft userscript without any errors so far. I also removed twitch.tv##+js(twitch-videoad) from the My filters tab in uBlock and in I am an advanced user I set userResourcesLocation to unset

trinlol commented 2 weeks ago

I'm using Tampermonkey + vaft userscript without any errors so far. I also removed twitch.tv##+js(twitch-videoad) from the My filters tab in uBlock and in I am an advanced user I set userResourcesLocation to unset

This works. Was using the ublock + vaft script - kept causing the player to blackscreen with the 'force reload' button that did nothing.

stevenya97 commented 2 weeks ago

Yup related to #200 , userscript version is always recommended over uBlock scripts. Similar issues reported at #220 and #252 .