Skip to content

Tuner Daemon v0.2.0 — Automated DVR, Bulletproof Live Streaming & Modern TV Watch Interface

Choose a tag to compare

@cjrutherford cjrutherford released this 31 Jul 18:50
· 77 commits to main since this release

🚀 Overview

Tuner Daemon v0.2.0 represents a major architectural release, transforming the platform into a complete, enterprise-grade IPTV & EPG management system featuring an FFmpeg DVR Recording Engine, Series Pass Auto-Scheduler,
Bulletproof HLS Live Stream Proxy, Virtualized EPG TV Watch Interface, and Reliability Infrastructure.
──────

✨ Key Highlights

📹 Automated DVR System & Series Pass Rules

• FFmpeg Server Recording Engine: Records live channels directly into .mp4 format on the server with background segment concatenation and low-CPU pass-through transcoding (-c copy).
• Automated Series Pass Rules (dvr_series_rules): Automatically schedule upcoming episodes whenever new EPG guide data is ingested.
• Partial File Auto-Recovery: Server reboots or stream interruptions automatically stitch existing .part files into playable partial MP4 videos.
• Dynamic Live URL Resolution: Stream URLs are resolved live at recording start time to prevent failures from rotated token URLs.
• Disabled Channel Safety: Strict enabled !== 0 validation across client schedule modals and backend API handlers.
• In-Browser Playback: Stream completed server recordings directly in your browser (GET /api/dvr/stream/:filename).

📺 Live TV Streaming & Watch Interface

• Bulletproof Keepalive Engine: 5-minute stream cleanup timeout paired with an automated 10-second client heartbeat ping (/api/stream/keepalive/:id).
• HLS.js Watchdog Recovery: Auto-detects media/network stalls, jumping to the live buffer edge or performing clean stream re-tunes within 12 seconds.
• Virtualized EPG Grid: Sub-millisecond virtualized guide grid supporting 1,000+ channels without DOM scroll lag.
• Unified OSD & Layout Switcher: Lower-third TV deck with live progress bar, episode metadata, mascot branding, and Overlay / Side-by-Side / Guide-Only popout layout views.
• 5-Theme Engine: Noir (Default), Neon Cyberpunk, Arctic Ice, Sunset Gold, and Emerald Synth.

⚙️ Reliability & Infrastructure

• Smart Axios Retry Engine: Exponential backoff with random jitter for HTTP 429 rate limits and network drops (502, 503, 504, ETIMEDOUT).
• Persistent sync_jobs Pipeline: SQLite-backed background job state persistence tracking step progress via Server-Sent Events (SSE).
• Failure Count Decay: Channel grab failure statistics gradually decay over 24-hour windows.
──────

📥 Deployment & Upgrade Command

git pull origin main
docker compose up --build -d