plugin.video.twitch icon indicating copy to clipboard operation
plugin.video.twitch copied to clipboard

Ads once again causes black screen of death with inputstream.adaptive

Open fragande opened this issue 5 years ago • 4 comments

Duplicate of #439. I hate to bring this up again but about a week ago I got an oauth error and had to generate a new key. After that I started receiving ads again with a black screen of death after the ad. I'm guessing the workaround of changing platform has been patched by Twitch.

I'm not sure how to interpret #447. Is a fix allowing ads to play normally with inputstream.adaptive planned for the future?

fragande avatar Jul 11 '19 00:07 fragande

Yes, the intention is to have ads working as they should in inputstream.adaptive in the future. Will update here when there is some movement on the issue.

anxdpanic avatar Aug 11 '19 22:08 anxdpanic

Does someone have details how they serve the ad stuff? Can I just filter this out using a hosts file?

M-Reimer avatar Aug 23 '19 18:08 M-Reimer

not sure if this helps, but I used to run pi-hole a few months back which would stop all ads... which is DNS blocking. I can't say for sure that's still the same method they use.

gawdsed avatar Aug 23 '19 20:08 gawdsed

Does someone have details how they serve the ad stuff? Can I just filter this out using a hosts file?

Unfortunately not. They now inject ads into the stream directly using "EXT-X-DISCONTINUITY" tags. The ad is therefore part of the stream (same URL) which makes it impossible to block with hosts file or DNS blocking like PiHole. Streamlink has managed to implement a way of skipping the segments somehow, but @anxdpanic has stated that he does not intend to implement a way of skipping these ads as it would be in bad faith (which I can respect).

not sure if this helps, but I used to run pi-hole a few months back which would stop all ads... which is DNS blocking. I can't say for sure that's still the same method they use.

See above. It's not possible to DNS block these ads unfortunately. The ad segments needs to be ignored/skipped by software as they're served from the same URL.

fragande avatar Aug 27 '19 08:08 fragande