diff --git a/Media-Command-Guide.pdf b/Media-Command-Guide.pdf index d54b4c0..761da82 100644 Binary files a/Media-Command-Guide.pdf and b/Media-Command-Guide.pdf differ diff --git a/README.md b/README.md index 2b1060d..9674b09 100644 --- a/README.md +++ b/README.md @@ -248,12 +248,44 @@ Monitors NVMe scratch storage across the cluster. Tracks free space and enforces ### Playout -![Playout](screenshots/16-ops-playout.png) +![Playout — GamesTV on air](screenshots/16-ops-playout.png) -Master control playout automation. -- CasparCG sidecar containers driven over AMCP, one per channel. -- Drag-and-drop rundown builder with CUE, PLAY, PAUSE, STOP, LOOP controls. -- Program and preview confidence monitoring. +Master control for 24/7 channels. The screenshots in this section show the **GamesTV** channel live on air. + +**Layout (top to bottom)** +- **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 + +![Playout — Live SDI inputs](screenshots/16b-playout-live-inputs.png) + +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 + +![Playout — Multi-channel overview](screenshots/16d-playout-overview.png) + +One card per channel with a live program thumbnail, ON AIR state and output format (e.g. `1080i59`). + +#### As-Run log + +![Playout — As-Run log](screenshots/16e-playout-asrun.png) + +What actually went to air: time, clip, duration and result (`PLAYED`). Export with **Export CSV** or **Export BXF** for traffic reconciliation. + +#### Schedule prep + +![Playout — Schedule prep](screenshots/16f-playout-schedule-prep.png) + +Offline drafting. Pick a draft or create one with **+ New day**, build it away from air, then publish it to the channel. ### Clip Server diff --git a/capture-playout-live.js b/capture-playout-live.js new file mode 100644 index 0000000..ee3e3cf --- /dev/null +++ b/capture-playout-live.js @@ -0,0 +1,26 @@ +// 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'; +const COOKIE='REDACTED'; +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();})(); diff --git a/explore-playout.js b/explore-playout.js new file mode 100644 index 0000000..57ef33b --- /dev/null +++ b/explore-playout.js @@ -0,0 +1,13 @@ +const { chromium } = require('playwright'); +const COOKIE='REDACTED'; +(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();})(); diff --git a/explore-playout2.js b/explore-playout2.js new file mode 100644 index 0000000..e0f6c6e --- /dev/null +++ b/explore-playout2.js @@ -0,0 +1,12 @@ +const { chromium } = require('playwright'); +const COOKIE='REDACTED'; +(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();})(); diff --git a/generate-pdf.js b/generate-pdf.js index 0a26d62..1a610b5 100644 --- a/generate-pdf.js +++ b/generate-pdf.js @@ -406,13 +406,30 @@ ${img('15-ops-staging.png', 'Staging — NVMe scratch storage monitoring')}

Tracks free space across cluster scratch disks and enforces retention policies.

17. Playout

-${img('16-ops-playout.png', 'Playout — master control channel automation')} +${img('16-ops-playout.png', 'Playout — GamesTV on air')} +

Master control for 24/7 channels. These screenshots show the GamesTV channel live on air.

-${img('29-playout-rundown.png', 'Playout — Rundown view')} +

Caution: on a live channel, Next, Stop and Channel off affect air immediately.

+

Live inputs

+${img('16b-playout-live-inputs.png', 'Playout — Live SDI inputs')} +

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.

+

Overview

+${img('16d-playout-overview.png', 'Playout — Multi-channel overview')} +

One card per channel with live program thumbnail, ON AIR state and output format.

+

As-Run log

+${img('16e-playout-asrun.png', 'Playout — As-Run log')} +

What actually went to air: time, clip, duration, result. Export as CSV or BXF for traffic reconciliation.

+

Schedule prep

+${img('16f-playout-schedule-prep.png', 'Playout — Schedule prep')} +

Offline drafting: pick a draft or create one with + New day, then publish it to the channel.

18. Clip Server

${img('17-ops-clip-server.png', 'Clip Server — instant-access cart for live replay')} diff --git a/guide.html b/guide.html index 1a0bc6b..c6705cb 100644 --- a/guide.html +++ b/guide.html @@ -186,7 +186,7 @@

3. Dashboard

- Operations Dashboard — system vitals, recent activity, and quick navigation + Operations Dashboard — system vitals, recent activity, and quick navigation
Operations Dashboard — system vitals, recent activity, and quick navigation