CastSponsorSkip: A lighter Google Cast sponsor skip written in Go

gabe565@lemmy.cook.gg to Selfhosted@lemmy.world – 123 points –
GitHub - gabe565/CastSponsorSkip: Skip sponsored YouTube content on all local Google Cast devices
github.com

Hi everyone! I've been using sponsorblockcast for a while (which is a great project), but I always wished it was written in Go. The go-chromecast library that it uses is written in Go, so a Go app could connect to all devices within a single process instead of creating child processes for every device. I finally decided to spend some time writing my own, called CastSponsorSkip. All of the features of sponsorblockcast are re-implemented in Go, plus some additional privacy features. I wrote a comparison if anybody is curious!

13

Google: developers should use Go.
Google: no not like that.

Hello, sponsorblockcast creator here! Happy to finally see a Go implementation, great work! I ended up writing a short blog post summarising the history of the SponsorBlock clients for Chromecasts.

Best of luck in your continued development!

Hey! I love the post and the ASCII theme of your site. I just want to say, thanks for all of the work you did on sponsorblockcast. It was a great tool that I happily used for a long time.

Thank you!

Wow this is so cool

I might start using casting again on my Android tv

Thank you! I have to admit, it's really satisfying seeing sponsored segments get skipped. Would definitely recommend!

I will definitely try it tomorrow. I already tried Sponsorblockcast but it used way to many cpu even in idle.

I love sponsorblockcast, but I had the same exact issue. In my case, sponsorblockcast usually uses 10% CPU, but would sometimes start using more and more. I've been testing CastSponsorSkip pretty thoroughly and haven't been able to get it to spike above 1-2% CPU yet!

Ummmm… this works amazingly well.

I generated an API key, and ran the docker command; that’s it… done, working perfectly.

I’ve never used sponsorblock before, but it’s hilarious how well this works. It’s like an aggressive jump cut 🤣 and the poor segue to the sponsor segment doesn’t even survive.

Haha I'm glad to hear it's working for you! The goal is to get rid of all of that junk so you don't get distracted from the content, segue and all.

You don't happen to know of a general working adblock for casting e.g. Channel 4.

Hey, it's been a while but I wanted to give you a heads up that CastSponsorSkip will now skip YouTube ads when possible! Not all ads can be skipped, but it will mute them, and then skip them the second the "Skip" button appears.

Looks cool, doesn't work with windows though? 😞

I haven't tested on Windows yet, but releases have Windows downloads! Did you get an error when you ran it?