this post was submitted on 20 Aug 2023
127 points (98.5% liked)

Selfhosted

40126 readers
1297 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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!

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 19 points 1 year ago

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

[–] nichobi 14 points 1 year ago (1 children)

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!

[–] [email protected] 2 points 1 year ago

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!

[–] [email protected] 11 points 1 year ago (1 children)

Wow this is so cool

I might start using casting again on my Android tv

[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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!

[–] jamiehs 3 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago

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.

[–] CatTrickery 1 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

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