polymorphicshade / NewPipe

A fork of NewPipe with SponsorBlock functionality.
GNU General Public License v3.0
3.21k stars 104 forks source link

trigger SponsorBlock feature when playing in background #363

Closed Robinnaiitor closed 5 months ago

Robinnaiitor commented 1 year ago

What is it?

Description of the changes in your PR

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

Robinnaiitor commented 1 year ago

FYI: I'm totally not familiar with Java/Kotlin, after messing around a bit I found adding the following line of code will actually trigger SponsorBlocking while playing in the background.