Skip to content

About

Tablo client for the Cardputer Zero

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tablo Zero

Watch live TV and recordings from a Tablo 4th Gen (or a legacy Tablo on firmware 2.2.58+) on an M5Stack CardputerZero running Gh0st OS. No Tablo account login needed.

  • Finds your Tablo on your Wi-Fi by itself, and remembers it
  • Live TV: every channel, in channel-number order
  • Recordings: newest first
  • Full-screen video on the 320×170 panel, sound through the speaker

Install

Build on a Mac or Linux computer (or WSL on Windows) with Rust installed.

Make the .deb:

sh build-deb.sh            # -> dist/tablo-zero_<version>_arm64.deb

Copy that file to any CardputerZero and install it there:

sudo apt-get install ./tablo-zero_0.1.0_arm64.deb

Or build and install in one step over SSH (turn on Settings > SSH on the CardputerZero first):

CARDPUTER_USER=yourname sh install.sh 192.168.1.77

Either way, Tablo Zero appears on the home screen. To remove it: sudo apt-get remove tablo-zero.

Use

Key Does
↑ / ↓ (Fn+F / Fn+X) Move through lists
Enter Open / play
R Reload a list
Esc Back (stops playback)

The first launch scans your network (a few seconds). If it can't find the Tablo, put its address in the settings file below.

Settings

~/.local/share/tablo-zero/tablo.conf is created after the first scan:

ip=192.168.1.50   # Tablo address
fps=15            # 5–30; 15 is smooth on the CardputerZero, try 20 if stats.log keeps up
hw=0              # 1 = hardware H.264 decoder for recordings
lowres=1          # live TV decode size: 1 = half (default, sharp), 2 = quarter, 3 = eighth (fastest)
audio_ms=150      # sound buffer: raise if it crackles, lower if sound lags the picture
video_delay_ms=150 # hold the picture back; raise if sound lags, lower if it leads
audio=pulse       # pulse | alsa:<device> | none

Tips

  • Choppy live TV? Live TV is the raw broadcast (MPEG-2, often 1080i, up to ~19 Mbps). Try lowres=3 and/or fps=15, and keep the Cardputer near your Wi-Fi router.
  • Playback fails? ffmpeg's messages are in ~/.local/share/tablo-zero/ffmpeg.log.
  • "No stream: all tuners may be busy": every tuner is recording or in use.
  • The app needs network access: leave Settings > Apps > Tablo Zero > Network on.

How it works

The Tablo serves a local REST API on port 8887. Requests are HMAC-MD5 signed with the static keys from Tablo's own app (the method used by tablo2plex and ha-tablo), so no cloud login is involved. A helper (the same binary run with --discover, --channels, --recordings or --watch) does the network work in the background. The player runs ffmpeg, which decodes live MPEG-2 at quarter size, deinterlaces, and scales the Tablo's HLS stream to 320×170 RGB565 frames that the app draws with the Gh0st SDK's blit565. ffmpeg also sends the sound to PipeWire.

You can test the helper on its own from the Gh0st terminal:

tablo-zero --discover
tablo-zero --channels 192.168.1.50

Publishing to the CardputerZero AppStore

The listing lives in app-builder.json; publish.sh builds the .deb and submits it with M5Stack's czdev tool (no Homebrew or dpkg needed on a Mac).

  1. Your details: python3 packaging/set_author.py <github-username> "<Your Name>" (fills Cargo.toml, LICENSE and app-builder.json; email defaults to your GitHub no-reply address).
  2. Screenshots: on the CardputerZero, open Tablo Zero and press the screenshot key on a playing channel, then on the channel list. They land in ~/Pictures/Screenshots as 320×170 PNGs. Copy them here as screenshots/live.png and screenshots/channels.png, e.g. scp 'you@cardputer:~/Pictures/Screenshots/*.png' screenshots/ (then rename).
  3. Public source repo: create github.com/<you>/tablo-zero and push this folder to it.
  4. Publish: sh publish.sh. The first time, it opens a GitHub login (device code) and clones M5Stack's tools to ~/.czdev.
  5. First release only: post a short video of the app running on a real CardputerZero as a comment on the pull request it opens. A maintainer merges after watching. Later versions merge automatically: bump version in Cargo.toml and app-builder.json, then sh publish.sh again.

Not affiliated

Tablo Zero is an independent project, not affiliated with or endorsed by Tablo, Nuvyyo or E.W. Scripps. It only talks to a Tablo on your own network.

About

Tablo client for the Cardputer Zero

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages