Skip to content
spencernortonPublic

About

A self-hosted HDHomeRun emulator that brings IPTV to Plex Live TV.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Conductor

A drop-in HDHomeRun tuner for Plex Live TV, backed by your own IPTV credentials.
One Go service that pools provider slots, enriches the guide, and speaks the protocols Plex already trusts.

NorviTech Suite Latest release Docker Compose Licence Donate

flowchart LR
    Provider[Your IPTV providers] --> Slots[Per-credential stream slots]
    Slots --> Tuner[Conductor HDHomeRun tuner]
    Guide[XMLTV and optional metadata] --> Tuner
    DB[(PostgreSQL state)] <--> Tuner
    Tuner --> Plex[Plex Live TV and DVR]
    Plex --> View[Watch or record]
Loading

Plex discovers a network tuner, receives Conductor's channel lineup and guide, and tunes a stream through the provider slot pool. Conductor passes video through; Plex handles playback and recording.

Conductor presents itself to Plex as a SiliconDust HDHomeRun tuner and serves live channels from the IPTV subscriptions you already pay for. It is for self-hosters who want Plex Live TV and DVR to behave like real hardware: correct tuner counts, a guide with artwork, and recordings that land where Plex expects them. It runs as a single Go binary next to Plex, with Postgres for state.

What it does

Stream slots are accounted for, not guessed. Credentials are first-class entities with their own slot budgets, so one process replaces "run one instance per credential set". The slot lease and the active-stream row are written in the same transaction, and three independent watchdogs — TCP close, heartbeat and idle sweep — reclaim orphans.

The guide is rich enough for Plex to look good. XMLTV output carries episode numbers in both xmltv_ns and onscreen form, IMDb/TMDb/TVDB ids, repeat and premiere state, self-hosted channel logos and artwork. Optional TMDb, TVDB and TheSportsDB enrichment fills in posters, backdrops and episode stills; Schedules Direct is supported and optional.

Pay-per-view slots advertise the event, not the slot. A dynamically assigned PPV channel shows the exact next event and local kickoff in the current Plex tile, and a temporary catalogue gap keeps guide presence instead of vanishing from the lineup.

The HDHomeRun surface is faithful. Discovery, lineup and tuner endpoints return what real SiliconDust firmware returns, so Plex pairs with it as a network tuner with no special configuration.

Recording is Plex's job, post-processing can be yours. Conductor passes streams through without transcoding and can hand a finished recording to an external commercial-detection service before Plex imports it.

Install

Docker — Docker Compose

git clone https://github.com/spencernorton/conductor.git
cd conductor
cp .env.example .env
openssl rand -hex 32          # generate each of POSTGRES_PASSWORD, CONDUCTOR_CRED_KEY and CONDUCTOR_ADMIN_API_KEY separately
docker compose -f docker-compose.example.yml up --build -d

Then in Plex: Live TV & DVR → Set up Plex DVR → enter its address manually and point it at http://<host>:8409. For Plex on another host, configure CONDUCTOR_BIND_ADDRESS and CONDUCTOR_BASE_URL as described in the operations guide. There is no published image yet; the compose file builds from this tree.

Other platforms — from source

Go 1.25 or newer and a Postgres 16+ database:

go build ./cmd/conductor
CONDUCTOR_POSTGRES_DSN=postgres://... ./conductor

Running with no database serves the HDHomeRun emulator with one stub channel, which is enough to prove Plex pairing.

Documentation

Where your data lives

Path Purpose
Postgres database channels, providers, credentials (encrypted), guide data, recordings metadata
/data/logos channel logos served to Plex
/data/recordings DVR output, if you use Conductor's recorder
/data/diag stream diagnostics, when explicitly enabled

Conductor talks to your IPTV provider, to Plex, and — only when you configure them — to the metadata services you name. Nothing else leaves the machine and there is no telemetry.

Contributing and support

Development

go test -race -count=1 ./...      # what CI runs
go vet ./...

Licence

MIT © Spencer Norton


Part of the NorviTech Suite — open-source apps for the Linux desktop and the self-hosted stack

Helios · DH-Waypoint · Armiger · Arrmes · Endexis · XNote · XNote Placement · SnipSnap · Conductor · NorviOS · Indigo · Road Track · norvitech.com

About

A self-hosted HDHomeRun emulator that brings IPTV to Plex Live TV.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages