It’s recently come to my attention that there exist a utility based on SponsorBlock that is called “castblock”.
SponsorBlock is a web-browser extension that makes it possible to mark segments of youtube videos as sponsored content and after a segment is marked that segment will auto-skip for all users of the extension.
CastBlock makes it possible to auto-skip these reported segments on Youtube videos that are chromecasted on the whole LAN.
It would be great if we could get an integration officialy or through HACS to support a castblock installation in Home Assistant.
I finally got some time to tinker with Castblock and managed to have it running on a HassOS deployment quite easy, however an official addon would make things even simpler.
Here are the steps:
Install Portainer Add-on
go to Portainer > Containers > Add container
Fill Name: Castblock, image: stephen304/castblock:latest
go to Network > select network type > host
go to Restart Policy > select Always
Click on deploy the container.
The container should be running and restarting automatically in case of a reboot. Check the container logs to see if it is running. You should see a list of all Chromecast devices detected, such as: