![]() SBCYOUTUBEAPIKEY - YouTube API key for fallback video identification (required on some Chromecast devices).SBCCATEGORIES - Space-separated SponsorBlock categories to skip, see category list (default= sponsor). ![]() ![]() SBCDIR - Directory where temporary files are stored (default= /tmp/sponsorblockcast).SBCSCANINTERVAL - Time to wait between each scan for available Chromecast (default= 300).SBCPOLLINTERVAL - Time to wait between each polling of the Chromecasts' status (default= 1).You can configure the following parameters by setting the appropriate environment values: Run sponsorblockcast from a terminal or activate the service with systemctl enable -now sponsorblockcast Configuration Copy rvice to /usr/lib/systemd/system/rvice.Copy sponsorblockcast.sh to /usr/bin/sponsorblockcast. Ĕ4 MiB master Go to file HTTPS README.md Logo by munadikieh SponsorBlock Download: Chrome/Chromium Firefox Android Edge Safari for MacOS and iOS Website Stats 3rd-Party Ports: MPV Kodi Chromecast iOS SponsorBlock is an open-source crowdsourced browser extension to skip sponsor segments in YouTube videos.Run the below commands as root or a member of the docker group docker run -network=host -name sponsorblockcast ghcr.io/nichobi/sponsorblockcast:latestįirst you will need a docker-compose.yaml file, such as the example included.Please note you MUST use the 'host' network as shown below for CLI Docker or in the example for docker-compose. You can install Docker directly or use Docker Compose (Or use Podman, Portainer, etc). Install sponsorblockcast-git with your AUR helper of choice or with makepkg. Whenever the Chromecast reaches a sponsored segment, the script tells it to seek to the end of the segment.Īdditionally, sponsorblockcast will look for skippable YouTube ads, and automatically hit the skip button when it becomes avilable. If a Chromecast is found to be playing a YouTube video, sponsor segments are fetched from the SponsorBlock API and stored in a temporary file. The script will scan for all Chromecasts on the LAN, and launches a process for each one to efficiently poll it status every second. It was inspired by CastBlock but written from scratch to avoid some of its pitfalls (see Differences from CastBlock).Ĭare was taken to ensure it's fully POSIX-compatible, so it can run on lighter shells such as Dash. Update the docker build * Update docker-compose.yamlĪ POSIX shell script that skips sponsored YouTube content and skippable ads on all local Chromecasts, using the SponsorBlock API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |