Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer blocking ad's #34

Open
sh0wst0pper opened this issue Sep 24, 2020 · 3 comments
Open

No longer blocking ad's #34

sh0wst0pper opened this issue Sep 24, 2020 · 3 comments

Comments

@sh0wst0pper
Copy link

Hi - thanks for this app, and i hope you are still developing it!
For a few days now, when you load a stream you get a 'Commercial Break' at the start and then (for me at least) the video freezes, but the audio is OK. Any chance you can update the app please?

@Ismaw34
Copy link

Ismaw34 commented Oct 31, 2020

Same here, i have Turbo and sometimes im a sub on a channel, same behaviour.
Please explain this.

@SebastianRask
Copy link
Owner

I think I messaged OP on Reddit.
But basicly Twitch is injecting stream directly into the HLS stream, so filtering out the ads is very difficult. It should be possible, as the stream segments are marked, but I don't know enough about HLS streaming to actually remove/skip these segments programmatically.
If you feel like you can do this, please make a fork and create a pull request. That is the power of open source.

@Disqu3-mirOir-qt
Copy link

idk if this can help

twitch.tv#%#(function(){if("function"==typeof fetch){var e=window.fetch;window.fetch=(a,f,...c)=>{if("string"==typeof a)if(a.includes("/access_token"))a=a.replace("player_type=site","player_type=embed");else if(a.includes("/gql")&&f&&"string"==typeof f.body&&f.body.includes("PlaybackAccessToken")){var b=JSON.parse(f.body);(null===b||void 0===b?void 0:b.variables)&&(b.variables.playerType="embed",f.body=JSON.stringify(b))}return e(a,f,...c)}}})();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants