Retro Cable TV
A cable box from another decade, built from scratch: 40-plus channels on a CRT with a live TV guide, local weather, period commercials and live local news. It runs itself on a Raspberry Pi, with no app and no setup.
The idea
Cable TV used to just be on. You picked up the remote, flipped to something, and there was a schedule, a guide channel, the weather, and commercials for things you'd forgotten existed. Streaming took away the flipping and added a decision to every evening.
I wanted that back for my family, on a real CRT, with no menus to learn. The brief: turn it on and something good is playing. Change the channel and something else is.
What I built
The box is a Raspberry Pi 4 behind a Sony Trinitron, wired over composite. It runs FieldStation42, an open-source cable simulator. I forked it and rebuilt it around how a family actually watches TV. I designed and built all of it: the lineup, the programming rules, the on-screen look, the hardware, and the pipeline that fills it. I built it with Claude Code.
- 40-plus channels with real identities. Each network has its own dayparts, logo bug, bumpers and coming-up-next promos. Dexter's Lab after school, Toonami in the afternoon, Adult Swim after dark.
- A guide you can use. Channel 1 is a live listings grid with a clock and a cursor the remote can move. Pick a show and press OK to tune to it. Smooth jazz plays underneath, 104 tracks on a continuous loop, the way the old cable guide channel sounded.
- Local weather and live news. Channel 2 is a forecast loop. When the National Weather Service issues a warning, a red crawl runs across every channel. The local stations' live newscasts sit next to it in the lineup.
- Commercials from the right year. A 1994 sitcom gets 1994 ads. A 2005 cartoon gets 2005 toy spots.
- The calendar matters. Halloween episodes air in late October and Thanksgiving episodes in November. The Christmas channel only exists in December.
- It knows when you've gone to bed. Turn the TV off and the box drops to standby. Turn it back on and you're on the same channel, watching whatever is airing now.
Designing for people who'll never see a setting
My family uses it, kids included. Nobody will ever read a log, so the box has to behave like an appliance.
- Nothing to manage. There are no menus and no settings screens. The TV's own remote does everything.
- Variety you can feel. Programming rules are checked against the schedule the box actually built. No show holds the same hour two days running, no film airs twice in a week, and no show takes over a channel.
- Made for who's watching. The PBS Kids channel leans on calm, educational shows picked for a three-year-old. Late-night tapes play uncut, exactly as they aired.
- Kind to the hardware. A CRT is the one part I can't replace. After a few minutes in standby the screen goes fully black, so no still image burns into the tube.
Building the library
Most of the work is the library, so I built a pipeline for it. It started with two tools, BroadcastBrain and RetroConvert, and grew into four machines feeding the box.
- Every source has a path. The family's DVDs rip the moment they go in the drive, feature only. Internet Archive titles are picked one by one in a picker page I built, so nothing lands that nobody asked for. Broadcast tapes stay whole and play raw, ads and all.
- Nothing airs until it's verified. Every file is decoded end to end, its checksum is matched when it lands on the box, and speech recognition confirms it's in English.
- The box never stutters for a copy. New files go straight to the Pi over Ethernet: full speed when nobody is watching, a trickle when someone is.
- Every removal is reversible. Nothing is deleted on the box. Removals wait in quarantine until I've signed off.
Every picture fits a 4:3 tube
A CRT is 4:3, and old video comes in every shape. A squeezed or stretched picture is the fastest way to make the whole box feel broken, so I treat shape as a quality gate.
- Fill the tube when the picture allows it. Black side bars are cropped so a 4:3 show fills the screen.
- Never crop a widescreen film. True widescreen is letterboxed. The picture is never cut to fit.
- Live channels get checked as they play. A live feed can switch from widescreen to an old 4:3 show at any moment, so the box looks again every 20 seconds and adjusts.
- Fix the whole class, not the one example. When someone spotted a squeezed Kia ad, I scanned all 16,000 ads and bumpers for the same fault and fixed more than 300 that night.
Engineering challenges
The case's AV jack only carried audio. On the new build the TV stayed black. I checked the video signal at the register level before touching any hardware. The case's rear jack turned out to be wired for audio only. The fix was a slim right-angle lead to the Pi's own jack.
A picture can die while everything says “playing.” Twice, the screen froze while every service reported healthy. The watchdog now asks the video player directly whether its clock is moving, and it acts only when two checks in a row agree.
The remote stopped listening on the new channels. Old channels changed instantly. The live and streaming ones often ignored the remote. I logged every raw infrared burst against the presses that decoded: 82% got through on local channels and only 18% on streaming ones. The receiver was picking up noise from the Wi-Fi radio. Moving the box to Ethernet fixed it.
Era-matched commercials. Every programme and every ad has a year. Each break uses the narrowest window that still has enough fresh spots. On a week of schedules, the average gap between show and ad fell from 4-12 years to 1-3.
Four machines, one queue. A GPU box, a Linux Mac and an M5 Mac share the heavy work, and my MacBook runs one low-priority encode queue on the side. Hardware encoding is tuned to match x264 quality at the same size, with a CPU fallback when the GPU is busy. An overnight watchdog restarts anything that stalls and frees disk once a file is safely on the box.
Tapes that air when they aired
The best footage on the box is recorded broadcasts: whole blocks taped off cable, with the bumpers, promos and commercials still in. Playing them at random hours wasted them, so each network's tapes now have a slot that matches when they really aired.
- Adult Swim, Sunday 11 PM to 2 AM.
- Nickelodeon, weekdays 3 to 6 PM.
- Cartoon Network, Wednesday and Friday 3 to 6 PM.
- Disney and Fox Kids, Saturday at 8 AM.
- Toonami, weekday afternoons.
A long tape is split where the real block broke, so a slot starts on a show's open instead of halfway through an ad.
Mining the tapes for commercials
Those tapes are also full of period commercials. A tape mapper finds each break and cuts out the individual spots, and a vision model checks every cut: a cut that caught show footage, or two ads run together, is rejected or split at the black gap between them. Duplicates are caught by fingerprint, so the same ad taped twice lands once.
I review every batch on a page where the only action is skip, so approving a thousand ads is just watching them. The third round added 1,111, for 1,267 across all three. Holiday spots are routed into date-range folders, so a Christmas ad only airs from November 20 to December 31.
Put in a DVD and it's on TV
The family's discs take one step: put one in the drive. A worker machine rips the feature, encodes it and letterboxes widescreen into 640x480, speech recognition confirms the audio is English, and the file is checksum-verified onto the box and placed on its channel. In one day that was A Quiet Place, National Lampoon's Vacation and European Vacation, Ghostbusters and Ghostbusters II, The Fly II, and the fourth season of Rocko's Modern Life.
The result
The box has run unattended since August. It carries about 14,400 episodes and films (roughly 6,500 hours), nearly 5,000 dated commercials and 10,000 bumpers. Every night it catalogues new content, extends its schedule, backs up its configuration and checks its own health. My family turns it on like a TV.
What I learned
The family is the best QA team I've had. Every fix this month started with someone on the couch saying “that looks wrong.” The work was making a one-line report, like “the Kia ad is stretched”, turn into a fix for every case like it by morning.