routine

Automate the nightly ErsatzTV Next refresh with M3U/XMLTV generation and Jellyfin updates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/MeridianVega/claude-marketplace --skill routine-meridianvega
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: routine
Source: https://github.com/MeridianVega/claude-marketplace/tree/main/plugins/ersatztv-programmer/skills/routine
Command: npx skills add https://github.com/MeridianVega/claude-marketplace --skill routine-meridianvega

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The nightly refresh of an ErsatzTV Next stack is a complex, multi-phase process that historically required manual coordination across playout generation, bumper rendering, M3U/XMLTV generation, director scoring, and Jellyfin guide refresh. This Skill automates that end-to-end workflow to reduce drift, save time, and ensure consistency.

Core Features & Use Cases

  • End-to-end orchestration of the nightly stack rebuild, including playout generation, bumper rendering, and validation.
  • Deterministic phase workflow with Phase 0 through Phase 7, including per-channel state, backups, and idempotent re-runs.
  • Comprehensive outputs: M3U, XMLTV, bumpers, and updated Jellyfin guide, with a ready-made summary report.
  • Flexible invocation via CronCreate, headless Claude, or manual trigger for ad-hoc rebuilds.

Quick Start

Invoke the routine using /ersatztv-programmer:routine in a scheduled job, a headless Claude invocation, or manual run to rebuild the entire ErsatzTV Next stack.

Frequently Asked Questions about routine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate the nightly ErsatzTV stack refresh for playout generation and Jellyfin guide updates?

Automating the nightly ErsatzTV refresh requires orchestrating playout generation, bumper rendering, M3U/XMLTV generation, and a safe Jellyfin guide refresh. This routine handles the end-to-end workflow with deterministic phase gates, per-channel validation, and idempotent re-runs.

Can I schedule ErsatzTV playout generation and bumper rendering to run automatically via cron?

Yes, ErsatzTV playout generation and bumper rendering can be scheduled via CronCreate or launchd-fired headless claude --print invocations, which trigger the phase-driven workflow from bootstrap through final report automatically.

What is the best way to ensure M3U and XMLTV generation completes before refreshing the Jellyfin guide?

Ensuring M3U and XMLTV generation finishes before Jellyfin refresh requires strict workflow rules with phase gates and state persistence. This routine only executes a safe Jellyfin guide refresh after a successful PASS from director scoring and validation.

Why does my ErsatzTV channel refresh fail midway through playout generation and require starting over?

Failed ErsatzTV channel refreshes often stem from non-idempotent processes lacking state persistence. This routine applies per-channel state tracking, backups, and restart-probe cycles, allowing deterministic re-runs from the last successful phase without restarting from scratch.

Does the ErsatzTV refresh workflow support manual ad-hoc rebuilds, or is it limited to scheduled jobs?

The ErsatzTV refresh workflow supports manual ad-hoc rebuilds alongside scheduled jobs. You can trigger the routine manually to rebuild the entire stack, including playout generation, bumper rendering, M3U/XMLTV generation, and Jellyfin guide refresh on demand.

What phases are involved in an ErsatzTV Next stack rebuild from playout generation to final report?

An ErsatzTV Next stack rebuild involves Phase 0 through Phase 7, covering bootstrap, per-channel playout generation, bumper rendering, M3U/XMLTV generation, director scoring, validation, and a final summary report with deterministic, idempotent behavior.