iSponsorBlockTV is a self-hosted application that connects to your YouTube TV app and automatically skips sponsor segments and intros using the SponsorBlock API. It can also auto-mute and press the 'Skip Ad' button on YouTube ads. Note: YouTube has changed its screen ID code format and is revoking existing codes, so you'll need to re-pair your device. Installation instructions and compatibility details are available in the wiki.
Compatible devices include Apple TV, Samsung TV (Tizen), LG TV (WebOS), Android TV, Chromecast, Google TV, Roku, Fire TV, CCw GTV, Nintendo Switch, Xbox One/Series, and PlayStation 4/5. Ad muting won't work when using AirPlay to send audio to another speaker. Shorts aren't fully supported due to YouTube limitations. A single short can be viewed by selecting 'Disconnect' in the warning or by long-pressing the thumbnail to open the menu and clicking play.
To use iSponsorBlockTV, run it on a computer with network access. It doesn't need to be on the same network as the device, only access to youtube.com is required. Auto-discovery requires the computer to be on the same network as the device during setup. The device can also be manually added using a YouTube TV code found in the settings page of your YouTube TV application.
The project uses libraries like pyytlounge for device interaction, asyncio and aiohttp for async operations, async-cache for caching, Textual for the graphical configurator, and sdp for auto-discovery. It is also used as a Home Assistant Addon. Contributions are welcome via fork, feature branch creation, commits, and pull requests. Made with contrib.rocks.
Source: Hacker News · Summarized by HeadlinesBriefing