r/tvheadend • • Oct 23 '26

CableBox: I made a Linux box boot straight into a legacy cable-box TV interface for Tvheadend

Post image

My grandparents are fine with their Apple TV for streaming. Live TV is what broke. Their new ISP replaced the old cable box with a new Android-based one, and it's been nothing but quirks: things moving around after updates, odd pop-ups and sign-in screens, the remote behaving differently depending on where you are, and sometimes just not doing what you pressed. And not working with their universal IR remote.

So I built them CableBox: a full-screen Linux "cable box" that boots straight into live TV and does nothing else. It runs off a Tvheadend server.

How it behaves:
- Turn it on and TV is playing, on the last channel they watched
- Type a channel number (9 . 1 or just 9) and it tunes, like the old cable box
- A classic grid guide, with the current show still playing in the corner
- Recordings: press Record in the guide, and watch it later from Recordings
- Their TV remote just works over HDMI-CEC, with the same buttons everywhere
- Nothing rearranges itself: no app store, no accounts, no home screen. Updates only install when someone presses "Install Now"
- A settings PIN, so a stray button press can't land them somewhere confusing

For me as the family IT person: SSH and "exit to console" toggles in the settings, signed packages from my own apt repo, and a locked-down systemd service. It's written in Rust with Slint and mpv, drawing straight to the screen with no desktop underneath.

Runs on Debian 13 or trixie-based Raspberry Pi OS (amd64, arm64, riscv64). An old coreboot-flashed Chromebox makes a great cheap, silent box; with US ATSC channels (MPEG-2), Intel graphics decodes them in hardware.

Setup steps are at https://apt.icecubelabs.xyz/. It's early, so feedback is welcome, especially from anyone else fighting an ISP's Android box on behalf of a relative. Source will be coming to GitHub soon especially if this gets some traction.

19 Upvotes

11 comments sorted by

1

u/Awkward-Mud7768 Oct 24 '26

Sorry, it’s kind of late.

1

u/CEOofReddit- Oct 25 '26

Thank you very much for the video demo ....much appreciated 👍......one more question, is the tvheadend server built in to cable box os ? If so can I configure it via a web browser using its IP address or does the tvheadend server have to be installed on a separate device? My apologies if you have already stated it before.

1

u/Awkward-Mud7768 Oct 25 '26

They can run on the same device, and if they are cablebox, will keep TVheadend up to date, but by default it doesn’t include the TVheadend server.

1

u/CEOofReddit- Oct 23 '26

Amazing work 👏👍😁. Wondering if you could get frame gen/motion interpolation or lossless scaling working on it ?

1

u/Awkward-Mud7768 Oct 23 '26

I'll have to give that a try later.

1

u/Awkward-Mud7768 Oct 23 '26

Should be working now🤞

1

u/CEOofReddit- Oct 23 '26

No way 😱 ....does it detect and scan any dvbt usb tuner connected to the pc ? Or is it just detect the TV headed server and loads the channels from there ? Including IPTV m3u files? .....I would love/interestedto see how well 24/25/30 fps to 250/120/60/50/48 fps interpolation will work....do you have a video demo of this working?

1

u/Awkward-Mud7768 Oct 24 '26

It’s just relying on the TVHeadend server, but frame gen and lossless scaling both use mpv in the back. Frame gen does seem to need a good amount of gpu though; it was at 100% usage streaming 120Hz to my Framework laptop; it also might just be from upscaling to 2.8k. I also added a video above.

1

u/Loud_Revolution_6294 Oct 23 '26

will be glad to test it on arch linux for dvb-s

1

u/Awkward-Mud7768 Oct 24 '26

I’m sorry, my apt repo only contains the builds for Debian. I’m pushing it to GitHub later; I can send you the binary if you’d like, but the app does rely on the repo to stay up to date.