I taught my TV to mute Prime Video ads pri7am.bearblog.dev · 15 points · 6 comme...
HN Best 200 @best
I taught my TV to mute Prime Video ads pri7am.bearblog.dev · 15 points · 6 comments · HN thread
TL;DR A blogger describes how they got a Mi TV Stick and Prime Video to mute and visually cover ads, first by reading the screen with a webcam and then, more reliably, by taking screenshots over ADB and counting yellow 'Ad' badge pixels. The project, built with Claude, later extended to a Raspberry Pi, a BenQ projector, and YouTube, and the author says ads are now silent, hidden and sometimes skipped.
- First attempt used a USB webcam pointed at the TV, but room light and tripod position made it unreliable.
- Working approach: ADB screenshots of the badge corner; 212 yellow pixels during an ad versus zero during the movie.
- Speed-ups: capturing only a strip of the screen (about 5 s to 0.9 s) and sending keys through the virtual remote (up to 10 s to instant).
- A small cover app dims the screen during ads, keeps the countdown visible, and removes itself if the watcher stops responding.
- A demo failure (an 11-second cover dropout) was traced to Android killing the app under the stick's 1 GB memory limit.
- Alternative detection: during ads Prime disables seeking, so the box can detect ads without screenshots; YouTube ads are handled too.
Discussion The thread is small and mostly about access rather than the project itself. Most comments are about the page failing to load with a certificate error, which several readers then said worked fine for them on Safari, Chromium and Firefox. A couple of commenters made short remarks: one called it the analog hole, and another liked the concept but found the blog post AI-written and annoying.
- Site loads fine for me; the error is local (many): Several readers tried the page in Safari on iOS, Chromium on GrapheneOS and Firefox and reported no problem. The certificate error seems specific to one client or network.
- Cool concept, but the writing feels AI-generated (some): One commenter liked the idea of muting and hiding Prime ads but found the blog post's style annoying, suggesting it reads as machine-written.
- Ad-muting is just the analog hole (a few): One commenter pointed out in two words that the approach is a kind of analog hole, a workaround that captures the output rather than the content.
- Certificate error blocks reading (a few): The first commenter could not load the page and pasted Chrome's ERR_CERT_AUTHORITY_INVALID message, noting the HSTS warning that prevented access.