Home

Awesome

:warning: Notice
This project has been deprecated in favor of numerous forks
https://github.com/erdnaxeli/castblockEasiest upgrade due to Dockerfile
https://github.com/willemstuursma/castblock-phpPHP port
https://github.com/chromecast-sponsorblock/chromecast-sponsorblock

CastBlock

A small utility to skip integrated ads on youtube when played on chromecasts

Installation

Arch Linux

aurman -S castblock-git

Any Distro via Docker

x86 and ARM Docker images are available from DockerHub as stephen304/castblock:latest

docker pull stephen304/castblock:latest
docker run --network="host" stephen304/castblock

From Source

Usage

Run castblock while on the same LAN as chromecast devices.

Alternatively, enable and start castblock.service to run in the background. Ensure castblock exists in /usr/bin/ and castblock.service exists in /usr/lib/systemd/system/ as above, then run:

  1. sudo systemctl start castblock
  2. Check the service has started by running sudo systemctl status castblock
  3. And finally, in order to run at boot, type sudo systemctl enable castblock

It should automatically detect all chromecasts on the LAN, keep track of what's playing, and automatically skip sponsors using the SponsorBlock API.

Known Issues

Contributing

I welcome all suggestions / code for the above issues as well as other discussion on how to improve the script. Feel free to open an issue or PR with any contributions.