docs: Playout Staging section with populated staged playlist

This commit is contained in:
Zach Gaetano 2026-10-02 13:42:26 -04:00
parent 9f72903662
commit 22dd14b708
6 changed files with 45 additions and 0 deletions

Binary file not shown.

View file

@ -281,6 +281,15 @@ One card per channel with a live program thumbnail, ON AIR state and output form
What actually went to air: time, clip, duration and result (`PLAYED`). Export with **Export CSV** or **Export BXF** for traffic reconciliation.
#### Staging
![Playout — Staging playlist](screenshots/16g-playout-staging.png)
**Staging** edits a non-air playlist without touching the live rundown. The panel is labelled **STAGING — NOT ON AIR**; the program monitor and on-air strip keep running above it. Shown here: a 60-item playlist, *Staging — Tomorrow*, built from GamesTV content.
- Pick an existing staged playlist or create a new one.
- Fill it by dragging clips from the Media Bin, **Search**, **Import CSV**, or **Paste list** (clip names are matched to the catalog).
- **Export CSV** to share the list; **Load onto channel** puts the staged playlist on air when it's ready.
#### Schedule prep
![Playout — Schedule prep](screenshots/16f-playout-schedule-prep.png)

View file

@ -0,0 +1,17 @@
// Read-only: opens Staging with the pre-built non-air playlist selected (via localStorage). No transport clicks.
const { chromium } = require('playwright');
const OUT='/home/zgaetano/media-command-guide/screenshots';
const COOKIE='s:d16cd74687c1f5e4322b9d24657efe7da055c019d97fb2e0.nHwwxY6iik6jiySDiKS6aUxacWRQy3T+dCiMTN8Fu8s';
const CH='ccea5e02-2c7e-4154-953b-1f9621336ceb', PL=process.argv[2];
(async()=>{
const b=await chromium.launch({args:['--no-sandbox']});
const c=await b.newContext({viewport:{width:1920,height:1080}});
await c.addCookies([{name:'dragonflight.sid',value:COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
await c.addInitScript(([k,v])=>localStorage.setItem(k,v),['df.staging.'+CH,PL]);
const p=await c.newPage();
p.on('request',r=>{if(r.url().includes('/api/')&&r.method()!=='GET')console.log('WRITE',r.method(),r.url())});
await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(8000);
await p.locator('button',{hasText:/^Staging$/}).first().click(); await p.waitForTimeout(6000);
await p.screenshot({path:`${OUT}/16g-playout-staging.png`});
console.log((await p.evaluate(()=>document.body.innerText)).match(/STAGING[\s\S]{0,700}/)?.[0]);
await b.close();})();

View file

@ -427,6 +427,14 @@ ${img('16d-playout-overview.png', 'Playout — Multi-channel overview')}
<h2>As-Run log</h2>
${img('16e-playout-asrun.png', 'Playout — As-Run log')}
<p>What actually went to air: time, clip, duration, result. Export as CSV or BXF for traffic reconciliation.</p>
<h2>Staging</h2>
${img('16g-playout-staging.png', 'Playout — Staging playlist (not on air)')}
<p><strong>Staging</strong> edits a non-air playlist without touching the live rundown; the program monitor and on-air strip keep running above it. Shown: a 60-item playlist, <em>Staging — Tomorrow</em>, built from GamesTV content.</p>
<ul>
<li>Pick an existing staged playlist or create a new one.</li>
<li>Fill it by dragging clips from the Media Bin, <strong>Search</strong>, <strong>Import CSV</strong>, or <strong>Paste list</strong>.</li>
<li><strong>Export CSV</strong> to share; <strong>Load onto channel</strong> puts it on air when ready.</li>
</ul>
<h2>Schedule prep</h2>
${img('16f-playout-schedule-prep.png', 'Playout — Schedule prep')}
<p>Offline drafting: pick a draft or create one with <strong>+ New day</strong>, then publish it to the channel.</p>

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB