gabe565 / CastSponsorSkip

⏭️ Skip YouTube ads and sponsorships on all local Google Cast devices
Apache License 2.0
311 stars 6 forks source link

Disable sponsor skipping and only skip ads? #77

Closed Zae closed 6 months ago

Zae commented 6 months ago

Is it possible to configure the app to only skip ads and not sponsored segments?

Right now I added a non existing category to get this behaviour, but this does throw a lot of errors in the logs and tries to contact the api, while this would be unnecessary when only skipping ads.

As a side node, could the categories be better documenten? I could not find anywhere what the possible categories actually mean.

gabe565 commented 6 months ago

Sure! I'll add an environment variable for that in the next update.

I also just came across the SponsorBlock category breakdown, which seems a lot more helpful. If you agree, I'd happily add a link to that in the readme.

Zae commented 6 months ago

That would be amazing!

gabe565 commented 6 months ago

Ha wait a second, I've already added a flag for this! I just didn't add it to the main readme, since I assumed it would be less commonly used. Try --skip-sponsors=false or CSS_SKIP_SPONSORS=false!