Operations
Content Management
Topics, casts, schedules and defaults live in JSON files — editing a file takes effect without a rebuild (state/ + panel/*.json). The admin panel exposes live ops for the common paths.
BGM Library
- Admin → 背景音乐 tab → drag-drop an mp3 (midi is stored, marked pending render).
- Click a track → link it to topics / casts / keywords + per-track volume multiplier + stop-on-leave.
- Flip the master switch to enable/disable BGM globally (viewers can also mute locally).
Note: mp3 is the playback format today. MIDI needs a SoundFont synthesizer to render.
Recording & Clips
Viewers record in-browser (screen + voice). Segments upload to state/clips/; a server-side pass renders an mp4 (~40–50s for 5 min). Empty segments are auto-filtered; dimensions are even-normalized for H.264.
SEO Pages
Static /topic/<id>.html pages are generated from topics + likes ledger (idempotent, rollback-safe, no token cost). Each language gets its own prefix. The main site ships hreflang + JSON-LD + OG.
Deployment
| Channel | Panel | TV Domain | Deploy |
|---|---|---|---|
| 中文 | 8008 | tv.pithclaw.com | sf-panel.service |
| English | 8010 | schizotv.pithclaw.com | sf-en-panel.service |
| 日本語 | 8011 | jptv.pithclaw.com | sf-jp-panel.service |
Pre-flight: before restarting a panel, check for in-flight pipeline runs — interrupting generation mid-flight trips the heartbeat and can refunds a queued render.
SchizoFlip