Project · Home server

Xenticorp-4 Server

A self-hosted media stack fed by my own DVD and Blu-ray rips. It lives on X4, a bench-built Ubuntu server. Discs are ripped and named on X4 itself; encoding is still done on a separate machine.

Work in progress. X4 and this page are both still being built, so the plans below will change as they turn into hardware and code.

Started Updated Ubuntu Server Docker Jellyfin ErsatzTV MakeMKV x265

Sorted by status: Running now Planned Ideas

Running now

Running now

Current setup

HostX4: Ubuntu server, bench build, reachable remotely over Tailscale
ContainersDocker: Jellyfin, ErsatzTV, Portainer, cloudflared, my dashboard and a Space Engineers 2 game server
Media serverJellyfin with Movies, TV Shows and Music libraries, exposed through a Cloudflare Tunnel
Live TVErsatzTV: custom channels and schedules built from my own library
MusicJellyfin as a Spotify replacement: a Spotify playlist ripped to MP3 with CSVMusic to match the existing MP3 library. New music can be uploaded from the dashboard
DashboardMy own control dashboard for X4, private and behind a login. Service status and restarts, Jellyfin stats, system health and power; a Ripping page with per-drive controls and settings; importer status and music uploads; an Updates card for the site, importer, ripper and Ripnamer; a Stats page with commit history and visitors; a Game servers page for the Space Engineers 2 server; and a Home Lab map
StorageNVMe for the OS and Jellyfin config; a 2.0 TB external drive for media; a 250 GB staging SSD and a 125 GB staging USB drive for new rips
Optical drivesAn LG BU40N (4K UHD, on SATA) and a USB 8-in-1 Blu-ray drive (DVD and regular Blu-ray)
RippingMakeMKV on X4, automatic. Both drives can rip at the same time. Auto-rip can take every long title, only the first feature-length title (movie mode), or only the episodes (TV mode, matched by runtime). A rip can go to X4, the staging SSD or the staging USB drive, and shows its time left and expected finish. Tried ARM (Automatic Ripping Machine) and dropped it; built my own instead
NamingRipnamer names TV rips from TMDb. A disc it isn’t sure about is held for me to check on the dashboard
EncodingHandBrake on X1, software x265
OutputMKV with soft subtitles (not burned in) and multiple audio tracks
ControlManual, from the dashboard’s Ripping page: eject, rescan, and start or cancel a rip, for one drive or all of them
AlertsThe drive ejects the disc when a rip finishes. That’s the only alert so far
Old hostJellyfin, ErsatzTV and the cloudflared connector moved over from X2, whose copies are retired

Hardware

CPU / board / RAMi5-10400F, MSI MAG Z490 Tomahawk, 32 GB DDR4 (reused from an old rig)
GPUGT 1030, for display only (no hardware encoder)
PSUCorsair CX650M
Storage~250 GB NVMe + 2 TB Seagate external, plus a 250 GB staging SSD and a 125 GB staging USB drive

No hardware encoding on X4. The 10400F has no integrated graphics (so no Quick Sync) and the GT 1030 has no NVENC, so every encode is CPU x265.

How media gets onto X4

  1. RipMakeMKV on X4 reads a disc in either drive. Auto-rip picks the titles, and the rip goes to X4, the staging SSD or the staging USB drive. A disc that was already ripped is skipped.
  2. NameFor TV, Ripnamer names the files from TMDb. A disc it isn’t sure about is held for me to check on the dashboard.
  3. LibraryA named show is sent from staging to the Jellyfin TV library from the dashboard’s Ripping page. The Media Importer sorts other media from a USB drive into the same library, and waits while a rip is using the staging drive.
  4. ServeJellyfin streams the library to devices, and ErsatzTV builds live channels from it.

Encoding is a separate step: HandBrake on X1, software x265.

What I borrowed from Riparr

Riparr gave me a few lessons that are in the ripper now:

How a website change goes live

You idea + review Claude plan + spec Claude Code writes the change brainstorm task GITHUB · PRIVATE REPO X4 testing main pushes merge after review Sandbox site private preview Live site xenticorp.net pull pull secure tunnel Visitors
You idea + review brainstorm Claude plan + spec task Claude Code writes the change GITHUB X4 testing main pushes merge after review Sandbox site private preview Live site xenticorp.net pull pull secure tunnel Visitors
Changes are brainstormed with Claude, built by Claude Code and pushed to a testing branch. X4 previews that branch on a private sandbox. Merging to main is the manual step, and only main reaches the public site.

Planned

Decided, not built

Encoding

Tdarr is no longer the plan. I’m planning something different for encoding, and this section will say what once it’s settled.

Optical drive bay (1U)

Only ever two drives:

Bay 1LG BU40N (9.5 mm slim) for 4K UHD, on SATA.
Bay 2The current 8-in-1 USB Blu-ray drive (hub and card reader combo) for DVD and regular Blu-ray, on a USB extension to X4’s rear port.

4K UHD is a drive decision, not a setting. It only works through MakeMKV LibreDrive on specific drives and firmware. The LG BU40N rips 4K UHD discs on X4.

Ideas

Maybe, someday