docs: Playout chapter with live GamesTV screenshots #2
51
README.md
|
|
@ -248,12 +248,53 @@ Monitors NVMe scratch storage across the cluster. Tracks free space and enforces
|
||||||
|
|
||||||
### Playout
|
### Playout
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Master control playout automation.
|
Master control for 24/7 channels. The screenshots in this section show the **GamesTV** channel live on air.
|
||||||
- CasparCG sidecar containers driven over AMCP, one per channel.
|
|
||||||
- Drag-and-drop rundown builder with CUE, PLAY, PAUSE, STOP, LOOP controls.
|
**Layout (top to bottom)**
|
||||||
- Program and preview confidence monitoring.
|
- **Header**: channel selector (`GamesTV`), **Channel** (create channel), **Overview**, **Schedule prep**, the `ON AIR` count and station clock.
|
||||||
|
- **Readiness banner**: warnings the operator must clear before air — e.g. *"3 ad breaks still hold the slate — drop ads into Break 95, Break 187, Break 190 or the slate airs"*.
|
||||||
|
- **On-air strip**: timecode clock, current item (`GS_WaitingRoom_30E_TV v7`), time remaining, next SCTE cue, and the transport — **Play**, **Pause**, **Next** (cut to the next item), **Stop** (stop playback, channel stays on), **Channel off** (power the channel down). Buttons explain themselves on hover; for example Pause is disabled while an ad break is on air.
|
||||||
|
- **PGM monitor**: live confidence picture of the channel output.
|
||||||
|
- **Timeline**: 24-hour strip with SCTE-104 cue, graphics and audio tracks.
|
||||||
|
- **Media Bin** (left): **Clips**, **Breaks** and **Live inputs**. Clips not yet in the channel's format show **Convert**, which renders a new TAMS flow in the channel format.
|
||||||
|
- **Rundown** (centre): start, duration, time-of-day start/end, type (PROGRAM, break, etc.) and state (On Air, Next, Scheduled).
|
||||||
|
|
||||||
|
> ⚠️ On a live channel, **Next**, **Stop** and **Channel off** affect air immediately.
|
||||||
|
|
||||||
|
#### Live inputs
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The **Live inputs** tab lists SDI inputs that can be cued into the rundown. Only inputs on the node running the channel are shown (here `dragon4 DC0`–`DC7`); inputs on other nodes are hidden because SDI can only be cued locally.
|
||||||
|
|
||||||
|
#### Overview
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
One card per channel with a live program thumbnail, ON AIR state and output format (e.g. `1080i59`).
|
||||||
|
|
||||||
|
#### As-Run log
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
What actually went to air: time, clip, duration and result (`PLAYED`). Export with **Export CSV** or **Export BXF** for traffic reconciliation.
|
||||||
|
|
||||||
|
#### Staging
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**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
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Offline drafting. Pick a draft or create one with **+ New day**, build it away from air, then publish it to the channel.
|
||||||
|
|
||||||
### Clip Server
|
### Clip Server
|
||||||
|
|
||||||
|
|
|
||||||
27
capture-playout-live.js
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
// Read-only captures of a live playout channel. NEVER click transport/Channel off/Convert/Add.
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
const OUT='/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
const SAFE=/^(Overview|Schedule prep|As-Run|Live inputs.*|Clips.*|Breaks.*|GamesTV)$/;
|
||||||
|
(async()=>{
|
||||||
|
const b=await chromium.launch({args:['--no-sandbox','--autoplay-policy=no-user-gesture-required']});
|
||||||
|
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}]);
|
||||||
|
const p=await c.newPage();
|
||||||
|
const txt=async()=>(await p.evaluate(()=>document.body.innerText.replace(/\b\d\d:\d\d\b \| /g,'').replace(/\n+/g,' | '))).slice(0,1800);
|
||||||
|
const tab=async(label)=>{ if(!SAFE.test(label)) throw new Error('unsafe '+label);
|
||||||
|
const btn=p.locator('button',{hasText:label}).first(); await btn.click(); await p.waitForTimeout(5000);};
|
||||||
|
const home=async()=>{await p.goto('https://mediacmdr.com/#home',{waitUntil:'networkidle'});await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(9000);};
|
||||||
|
await home();
|
||||||
|
await p.screenshot({path:`${OUT}/16-ops-playout.png`});
|
||||||
|
await p.screenshot({path:`${OUT}/16a-playout-full.png`,fullPage:true});
|
||||||
|
console.log('MAIN',await txt());
|
||||||
|
for (const [l,f] of [['Live inputs','16b-playout-live-inputs'],['Breaks','16c-playout-breaks']]) {
|
||||||
|
await tab(l); await p.screenshot({path:`${OUT}/${f}.png`}); }
|
||||||
|
for (const [l,f] of [['As-Run','16e-playout-asrun'],['Overview','16d-playout-overview'],['Schedule prep','16f-playout-schedule-prep']]) {
|
||||||
|
await home(); await tab(l); await p.screenshot({path:`${OUT}/${f}.png`}); console.log('==',l,p.url(),await txt()); await p.keyboard.press('Escape'); }
|
||||||
|
for (const [h,f] of [['monitor-wall','08-live-monitor-wall'],['home','02-dashboard-home']]) {
|
||||||
|
await p.goto('https://mediacmdr.com/#'+h,{waitUntil:'networkidle'});await p.waitForTimeout(10000);
|
||||||
|
await p.screenshot({path:`${OUT}/${f}.png`}); console.log('==',h,(await txt()).slice(0,800)); }
|
||||||
|
await b.close();})();
|
||||||
18
capture-playout-staging.js
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
// 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';
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
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();})();
|
||||||
14
explore-playout.js
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
(async()=>{
|
||||||
|
const b=await chromium.launch({args:['--no-sandbox','--autoplay-policy=no-user-gesture-required']});
|
||||||
|
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}]);
|
||||||
|
const p=await c.newPage();
|
||||||
|
await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(6000);
|
||||||
|
console.log('URL',p.url());
|
||||||
|
console.log(await p.evaluate(()=>document.querySelector('main,#app,body').innerText.replace(/\n+/g,' | ').slice(0,3000)));
|
||||||
|
console.log('BUTTONS',await p.evaluate(()=>[...document.querySelectorAll('button,a[href^="#"]')].filter(e=>e.offsetParent).map(e=>(e.innerText.trim()||e.title||e.getAttribute('href')).slice(0,30)).join(' ; ')));
|
||||||
|
await p.screenshot({path:'/home/zgaetano/.hermes/cache/scratch/po1.png'});
|
||||||
|
await b.close();})();
|
||||||
13
explore-playout2.js
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
(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}]);
|
||||||
|
const p=await c.newPage();
|
||||||
|
await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(6000);
|
||||||
|
const r=await p.evaluate(()=>[...document.querySelectorAll('button,[role=tab],select')].filter(e=>e.offsetParent&&!/^\d\d:\d\d$/.test(e.innerText.trim())).map(e=>`${e.tagName}|${e.innerText.trim().replace(/\s+/g,' ').slice(0,40)}|${e.title||''}|${e.getAttribute('aria-label')||''}`));
|
||||||
|
console.log(r.slice(0,200).join('\n'));
|
||||||
|
console.log('VIDEO',await p.evaluate(()=>document.querySelectorAll('video,canvas').length));
|
||||||
|
await b.close();})();
|
||||||
|
|
@ -406,13 +406,38 @@ ${img('15-ops-staging.png', 'Staging — NVMe scratch storage monitoring')}
|
||||||
<p>Tracks free space across cluster scratch disks and enforces retention policies.</p>
|
<p>Tracks free space across cluster scratch disks and enforces retention policies.</p>
|
||||||
|
|
||||||
<h1>17. Playout</h1>
|
<h1>17. Playout</h1>
|
||||||
${img('16-ops-playout.png', 'Playout — master control channel automation')}
|
${img('16-ops-playout.png', 'Playout — GamesTV on air')}
|
||||||
|
<p>Master control for 24/7 channels. These screenshots show the <strong>GamesTV</strong> channel live on air.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>CasparCG sidecar containers driven over AMCP, one per channel.</li>
|
<li><strong>Header:</strong> channel selector, <strong>Channel</strong> (create), <strong>Overview</strong>, <strong>Schedule prep</strong>, ON AIR count and station clock.</li>
|
||||||
<li>Drag-and-drop rundown builder with CUE, PLAY, PAUSE, STOP, LOOP.</li>
|
<li><strong>Readiness banner:</strong> warnings to clear before air, e.g. ad breaks that still hold the slate.</li>
|
||||||
<li>Program and preview confidence monitoring.</li>
|
<li><strong>On-air strip:</strong> timecode, current item, remaining time, next SCTE cue, and transport — Play, Pause, Next (cut to next item), Stop (channel stays on), Channel off. Pause is disabled while an ad break is on air.</li>
|
||||||
|
<li><strong>PGM monitor:</strong> live confidence picture of the channel output.</li>
|
||||||
|
<li><strong>Timeline:</strong> 24-hour strip with SCTE-104 cue, graphics and audio tracks.</li>
|
||||||
|
<li><strong>Media Bin:</strong> Clips, Breaks and Live inputs. <strong>Convert</strong> renders a new TAMS flow in the channel's format.</li>
|
||||||
|
<li><strong>Rundown:</strong> start, duration, time-of-day start/end, type and state (On Air, Next, Scheduled).</li>
|
||||||
</ul>
|
</ul>
|
||||||
${img('29-playout-rundown.png', 'Playout — Rundown view')}
|
<p><strong>Caution:</strong> on a live channel, Next, Stop and Channel off affect air immediately.</p>
|
||||||
|
<h2>Live inputs</h2>
|
||||||
|
${img('16b-playout-live-inputs.png', 'Playout — Live SDI inputs')}
|
||||||
|
<p>SDI inputs that can be cued into the rundown. Only inputs on the channel's node are listed; others are hidden because SDI can only be cued locally.</p>
|
||||||
|
<h2>Overview</h2>
|
||||||
|
${img('16d-playout-overview.png', 'Playout — Multi-channel overview')}
|
||||||
|
<p>One card per channel with live program thumbnail, ON AIR state and output format.</p>
|
||||||
|
<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>
|
||||||
|
|
||||||
<h1>18. Clip Server</h1>
|
<h1>18. Clip Server</h1>
|
||||||
${img('17-ops-clip-server.png', 'Clip Server — instant-access cart for live replay')}
|
${img('17-ops-clip-server.png', 'Clip Server — instant-access cart for live replay')}
|
||||||
|
|
|
||||||
53
guide.html
|
Before Width: | Height: | Size: 434 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 304 KiB |
BIN
screenshots/16a-playout-full.png
Normal file
|
After Width: | Height: | Size: 303 KiB |
BIN
screenshots/16b-playout-live-inputs.png
Normal file
|
After Width: | Height: | Size: 282 KiB |
BIN
screenshots/16c-playout-breaks.png
Normal file
|
After Width: | Height: | Size: 260 KiB |
BIN
screenshots/16d-playout-overview.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
screenshots/16e-playout-asrun.png
Normal file
|
After Width: | Height: | Size: 306 KiB |
BIN
screenshots/16f-playout-schedule-prep.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
screenshots/16g-playout-staging.png
Normal file
|
After Width: | Height: | Size: 266 KiB |