Automatically skip integrated ads on youtube playing on chromecast
:warning: Notice | |
---|---|
This project has been deprecated in favor of numerous forks | |
https://github.com/erdnaxeli/castblock | Easiest upgrade due to Dockerfile |
https://github.com/willemstuursma/castblock-php | PHP port |
https://github.com/chromecast-sponsorblock/chromecast-sponsorblock |
A small utility to skip integrated ads on youtube when played on chromecasts
aurman -S castblock-git
x86 and ARM Docker images are available from DockerHub as stephen304/castblock:latest
docker pull stephen304/castblock:latest
docker run --network="host" stephen304/castblock
sudo apt-get install jq
sudo apt-get install bc
castblock
in /usr/bin/
castblock.service
in /usr/lib/systemd/system/
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:
sudo systemctl start castblock
sudo systemctl status castblock
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.
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.