docs: recorder views/config, schedule menus, AI Analysis, Reframe; rewrite Contribution as Client Uploads; Projects reached via Library

This commit is contained in:
Zach Gaetano 2026-10-02 07:57:00 -04:00
parent a1e4196973
commit 1450b16583
42 changed files with 629 additions and 62 deletions

Binary file not shown.

View file

@ -109,23 +109,26 @@ Quick-access tiles link to Library, Recorders, Playout, Jobs, Downloads, and Set
### Recorders
![Recorders](screenshots/05-live-recorders.png)
![Recorders — Cards](screenshots/05-recorders-cards.png)
Controls physical capture ports (Blackmagic, AJA, Deltacast) and network ingest engines across the cluster.
- **Density toggle:** Dense list (one line per recorder) or Cards (full preview + stats per port).
- **Toolbar:** Refresh, Reset to Default (disabled while recording), Add Stream, Create Recording.
- **Cards:** live preview, detected input signal, elapsed time, TAMS/HDR badges, loudness, router crosspoint, Take project picker. `NO SIGNAL` = no SDI input.
- **Configure recorder (gear):** label; clip-name date placement (Global default / Date first / Date end); recording mode (TAMS or Intra Growing); growing master codec (H.264 all-intra 35/50/75/100 Mbps, or HEVC long-GOP 10-bit ~60 Mbps VBR); TAMS hi-res codec (HEVC or AV1 long-GOP).
- **Create Recording:** batch-start checked ports under one crash name, one project; clips named `name_YYYYMMDD_HHMMSS`.
- **Port cards**: Each card represents a capture port (e.g., `dragon4-dc0` through `dragon6-dc7`).
- **Signal detection**: Real-time input format display (`1080i59.94`, `1080p29.97`, `2160p59.94`).
- **Codec selection**: H.264 intra (at 35/50/75/100 Mbps tiers) and HEVC intra. Per-port independent configuration.
- **Actions**: `Create Recording`, `Add Stream` (SRT/RTMP), `Reset to Default`.
![Configure recorder](screenshots/05d-recorder-configure.png)
### Schedule
![Schedule](screenshots/06-live-schedule.png)
![Schedule — Day](screenshots/06-schedule-day.png)
Automated event-driven recording.
- Grid-based calendar with per-port timeline lanes.
- Traffic schedule and CSV run-sheet import.
- Configurable pre/post-roll padding around scheduled windows.
- **Toolbar:** previous/next day, Today; Day · Week · List views; Refresh; Record now; New schedule.
- **List view:** Upcoming · Past · All filters; status pending / recording / completed / cancelled / failed.
- **Right-click an event:** Edit… (pending/failed), Cancel run (pending/recording), Copy schedule ID, Delete schedule (not while recording).
- **New schedule:** Name, Recorders (multi-select), Project, Bin, times, recurrence.
![Schedule context menu](screenshots/06e-schedule-context-menu.png)
### Live Graphics
@ -153,7 +156,7 @@ High-density WebRTC multiviewer for control rooms.
![Projects](screenshots/03-projects.png)
Projects are top-level workspaces that isolate media, permissions, and bins. Active projects include Broadcast Management Group (12,353 assets), UBS, Protour, First We Feast, and others.
Projects are opened from the Library project switcher (no sidebar button). They are top-level workspaces that isolate media, permissions, and bins. Active projects include Broadcast Management Group (12,353 assets), UBS, Protour, First We Feast, and others.
![BMG Project](screenshots/04-project-bmg-overview.png)
@ -185,20 +188,33 @@ Clicking an asset opens its detail view with:
- **Technical metadata**: container, codec, resolution, frame rate, bit rate, storage path, checksums.
- **Actions**: Review, Edit, Share, Pull Hi-Res, Reframe & Social, Clip.
### AI Analysis
![AI Analysis — People & Faces](screenshots/42-ai-faces.png)
Five tabs (run individually or Analyze All): **Story & Editorial** (summary, chapters, soundbites, topics), **Clips & Moments** (ranked social clips → Subclip / Reframe 9:16 / 1:1), **People & Faces** (clustered faces; Identify faces, Enroll from photo, Rename, AI Web Match, Merge), **In Picture** (visual keyframe search), **Ask AI** (questions across the transcript).
### Reframe & Social Publisher
![Reframe](screenshots/41-reframe.png)
Aspect 9:16 / 1:1 / 16:9; framing AI Face / Center / Left / Right; Index Faces (AI); In/Out; overlay template (Clean, Lower-Third Speaker Badge, Headline Title Banner); Create reframed TAMS subclip; publish to YouTube Shorts, TikTok, Instagram, X.
### Upload
![Upload](screenshots/10-media-upload.png)
Chunked resumable web upload with target bin selection. Proxy creation, thumbnail extraction, and waveform generation trigger automatically on completion.
Chunked resumable web upload with target bin selection. Proxy, thumbnail, and waveform generation trigger automatically on completion.
### Contribution
### Contribution (Client Uploads)
![Contribution](screenshots/11-media-contribution.png)
![Contribution](screenshots/11-contribution.png)
Manages incoming broadcast feeds:
- **SRT**: caller/listener mode with passphrase and adjustable latency.
- **RTMP/RTMPS**: custom streaming keys for OBS, vMix, Wirecast.
- **Auto-recording**: automatically starts a TAMS recording when a contribution stream connects.
File deliveries from clients via shareable upload links.
- **Create link:** Name, Project, Expires (default 7 days), Max uploads, optional Password. Client gets a drop page; no account needed.
- **Delivery specs:** what the client is asked to send (e.g. Broadcast default, EBU R128, 8 rules).
- **Received files:** MEETS SPEC / NEEDS REVIEW verdict; Accept, Reject, Check against spec.
- **Inactive links:** expired/turned-off links; received files are kept.
### YouTube

22
capture-ai-reframe.js Normal file
View file

@ -0,0 +1,22 @@
const { chromium } = require('playwright');
const OUT='/home/zgaetano/media-command-guide/screenshots';
const COOKIE='s:d16cd74687c1f5e4322b9d24657efe7da055c019d97fb2e0.nHwwxY6iik6jiySDiKS6aUxacWRQy3T+dCiMTN8Fu8s';
const ASSET=process.argv[2]||'9b648563-2159-43af-9b02-40ae04821714';
const pause=p=>p.evaluate(()=>document.querySelectorAll('video').forEach(v=>{try{v.pause()}catch(e){}}));
const clickText=(p,re)=>p.evaluate(s=>{const r=new RegExp(s);const el=[...document.querySelectorAll('button,[role=tab],a,div,span')].filter(e=>e.offsetHeight>0&&e.children.length<4).find(e=>r.test(e.innerText.trim()));if(el){el.click();return el.innerText.trim().slice(0,40)}return null},re.source);
(async()=>{
const b=await chromium.launch({args:['--no-sandbox','--autoplay-policy=no-user-gesture-required']});
const c=await b.newContext({viewport:{width:1600,height:1000}});
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/analysis.html?asset='+ASSET,{waitUntil:'networkidle'});await p.waitForTimeout(6000);await pause(p);
await p.screenshot({path:`${OUT}/42-ai-analysis-overview.png`});
console.log('overview:',(await p.evaluate(()=>document.body.innerText.replace(/\n+/g,' | ').slice(0,700))));
const tabs=[['editorial',/^Story & Editorial/],['clips',/^Clips & Moments/],['faces',/^People & Faces/],['visual',/^In Picture/],['ask',/^Ask AI/]];
for(const [n,re] of tabs){const k=await clickText(p,re);await p.waitForTimeout(3500);await pause(p);await p.screenshot({path:`${OUT}/42-ai-${n}.png`});
console.log(n,k,'::',(await p.evaluate(()=>document.body.innerText.replace(/\n+/g,' | ').slice(0,400))));}
await p.goto('https://mediacmdr.com/reframe.html?asset='+ASSET,{waitUntil:'networkidle'});await p.waitForTimeout(7000);await pause(p);
await p.screenshot({path:`${OUT}/41-reframe.png`});
await p.screenshot({path:`${OUT}/41b-reframe-full.png`,fullPage:true});
console.log('reframe:',(await p.evaluate(()=>document.body.innerText.replace(/\n+/g,' | ').slice(0,1500))));
await b.close();})();

48
capture-rec-sched.js Normal file
View file

@ -0,0 +1,48 @@
const { chromium } = require('playwright');
const OUT='/home/zgaetano/media-command-guide/screenshots';
const COOKIE='s:d16cd74687c1f5e4322b9d24657efe7da055c019d97fb2e0.nHwwxY6iik6jiySDiKS6aUxacWRQy3T+dCiMTN8Fu8s';
const esc=p=>p.keyboard.press('Escape');
(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/#recorders',{waitUntil:'networkidle'});await p.waitForTimeout(4000);
// Dense list
await p.click('button[title^="Dense list"]').catch(()=>{});await p.waitForTimeout(2000);
await p.screenshot({path:`${OUT}/05-recorders-dense.png`});
// Cards with previews
await p.click('button[title^="Cards"]').catch(e=>console.log('cards btn',e.message));await p.waitForTimeout(9000);
await p.screenshot({path:`${OUT}/05-recorders-cards.png`});
// Scroll to a node group that has signal, take a tighter crop
const sig=await p.evaluate(()=>{const el=[...document.querySelectorAll('.recorder-card,[class*=recorder-card]')].find(e=>!/NO SIGNAL/.test(e.innerText)&&e.offsetHeight>100);if(el){el.scrollIntoView({block:'center'});return el.innerText.replace(/\s+/g,' ').slice(0,120)}return null});
console.log('signal card:',sig);await p.waitForTimeout(5000);
await p.screenshot({path:`${OUT}/05b-recorders-previews.png`});
// Configure recorder panel
const n=await p.locator('button[title="Configure recorder"]').count();console.log('cfg buttons',n);
if(n){await p.locator('button[title="Configure recorder"]').first().click();await p.waitForTimeout(3000);
await p.screenshot({path:`${OUT}/05d-recorder-configure.png`});
console.log('cfg:',(await p.evaluate(()=>{const d=document.querySelector('[class*=modal],[class*=drawer],[class*=sheet],[role=dialog]');return d?d.innerText.replace(/\n+/g,' | ').slice(0,900):'none'})));
// scroll inside panel to codec section
await p.evaluate(()=>{const d=document.querySelector('[class*=modal] [class*=body],[role=dialog] [class*=body],[class*=drawer]');if(d)d.scrollTop=d.scrollHeight/2});await p.waitForTimeout(1000);
await p.screenshot({path:`${OUT}/05e-recorder-configure-codec.png`});await esc(p);}
// Schedule: list view + context menu on an event
await p.goto('https://mediacmdr.com/#schedule',{waitUntil:'networkidle'});await p.waitForTimeout(4000);
for(const v of ['Day','Week','List']){await p.evaluate(l=>{const x=[...document.querySelectorAll('button')].find(b=>b.innerText.trim()===l);x&&x.click()},v);await p.waitForTimeout(2500);await p.screenshot({path:`${OUT}/06-schedule-${v.toLowerCase()}.png`});}
// Back to Day, go to previous days until an event block exists, right-click it
await p.evaluate(()=>{const x=[...document.querySelectorAll('button')].find(b=>b.innerText.trim()==='Day');x&&x.click()});await p.waitForTimeout(2000);
let found=false;
for(let i=0;i<14&&!found;i++){
found=await p.evaluate(()=>{const ev=[...document.querySelectorAll('[class*=event],[class*=epg-block],[class*=sched-block]')].find(e=>e.offsetHeight>10&&e.offsetWidth>20&&e.innerText.trim());if(!ev)return false;const r=ev.getBoundingClientRect();ev.dispatchEvent(new MouseEvent('contextmenu',{bubbles:true,clientX:r.x+10,clientY:r.y+10}));return ev.innerText.trim().slice(0,60)});
if(!found){await p.evaluate(()=>{const x=[...document.querySelectorAll('button')].find(b=>/^(‹|<|Prev|Previous)$/.test(b.innerText.trim())||/previous/i.test(b.title||b.getAttribute('aria-label')||''));x&&x.click()});await p.waitForTimeout(1800);}
}
console.log('event ctx:',found);await p.waitForTimeout(1200);
await p.screenshot({path:`${OUT}/06e-schedule-context-menu.png`});
await esc(p);
// Record now + New schedule dialogs (re-take cleanly)
for(const [l,f] of [['Record now','06d-schedule-record-now'],['New schedule','06b-schedule-new']]){
await p.evaluate(t=>{const x=[...document.querySelectorAll('button')].find(b=>b.innerText.trim()===t);x&&x.click()},l);await p.waitForTimeout(2500);
await p.screenshot({path:`${OUT}/${f}.png`});
console.log(l,':',(await p.evaluate(()=>{const d=document.querySelector('[class*=modal],[role=dialog]');return d?d.innerText.replace(/\n+/g,' | ').slice(0,500):'none'})));
await esc(p);await p.waitForTimeout(800);}
await b.close();})();

114
explore-details.js Normal file
View file

@ -0,0 +1,114 @@
const { chromium } = require('playwright');
const OUT = '/home/zgaetano/media-command-guide/screenshots';
const COOKIE = 's:d16cd74687c1f5e4322b9d24657efe7da055c019d97fb2e0.nHwwxY6iik6jiySDiKS6aUxacWRQy3T+dCiMTN8Fu8s';
const pause = p => p.evaluate(() => document.querySelectorAll('video').forEach(v => { try { v.pause() } catch(e){} }));
(async () => {
const b = await chromium.launch({ headless: true, 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();
// 1. RECORDER — click on a specific port card (with SIGNAL badge) to expand it
await p.goto('https://mediacmdr.com/#recorders', { waitUntil: 'networkidle' });
await p.waitForTimeout(4000);
// Find a port card that has SIGNAL indicator and click it
const portClicked = await p.evaluate(() => {
// Look for individual port cards (not the node header)
const ports = [...document.querySelectorAll('[class*=port],[class*=recorder-card],[class*=channel]')]
.filter(e => e.offsetHeight > 30 && e.offsetHeight < 300 && /SIGNAL/.test(e.innerText));
if (ports.length > 0) { ports[0].click(); return ports[0].innerText.replace(/\s+/g,' ').slice(0,80); }
// Fallback: click any element that looks like a port name
const named = [...document.querySelectorAll('*')]
.filter(e => e.offsetHeight > 20 && e.offsetHeight < 100 && /dragon\d-dc\d|Client|ProTour/.test(e.innerText) && e.children.length < 5);
if (named.length > 2) { named[2].click(); return named[2].innerText.replace(/\s+/g,' ').slice(0,60); }
return null;
});
console.log('Port clicked:', portClicked);
await p.waitForTimeout(3000);
await pause(p);
await p.screenshot({ path: `${OUT}/05b-recorder-port-detail.png` });
// Dump what's shown
const portDetail = await p.evaluate(() => (document.querySelector('main') || document.body).innerText.replace(/\n{2,}/g,'\n').slice(0,2000));
console.log('Port detail:', portDetail.slice(0,500));
// Try clicking "Create Recording" to see that dialog
const crBtn = await p.evaluate(() => {
const b = [...document.querySelectorAll('button')].find(b => /create recording/i.test(b.innerText));
if (b) { b.click(); return true; } return false;
});
if (crBtn) {
await p.waitForTimeout(2500);
await p.screenshot({ path: `${OUT}/05c-create-recording-dialog.png` });
console.log('Create Recording dialog captured');
await p.evaluate(() => { const c = document.querySelector('[class*=modal] button, [class*=close]'); if(c) c.click(); });
await p.waitForTimeout(1000);
}
// 2. SCHEDULE — "New schedule" modal
await p.goto('https://mediacmdr.com/#schedule', { waitUntil: 'networkidle' });
await p.waitForTimeout(4000);
await p.evaluate(() => {
const b = [...document.querySelectorAll('button')].find(b => /new schedule/i.test(b.innerText));
if (b) b.click();
});
await p.waitForTimeout(2500);
await p.screenshot({ path: `${OUT}/06b-schedule-new-event.png` });
// Dump dialog content
const schedDialog = await p.evaluate(() => {
const d = document.querySelector('[class*=modal],[class*=dialog],[class*=sheet]');
return d ? d.innerText.replace(/\n{2,}/g,'\n').slice(0,1000) : 'no dialog';
});
console.log('Schedule dialog:', schedDialog);
// Close
await p.evaluate(() => { const c = document.querySelector('button[class*=close], [class*=modal] button:last-child'); if(c) c.click(); });
// "Record now" button
await p.waitForTimeout(1000);
await p.evaluate(() => {
const b = [...document.querySelectorAll('button')].find(b => /record now/i.test(b.innerText));
if (b) b.click();
});
await p.waitForTimeout(2500);
await p.screenshot({ path: `${OUT}/06d-schedule-record-now.png` });
const recordDialog = await p.evaluate(() => {
const d = document.querySelector('[class*=modal],[class*=dialog],[class*=sheet]');
return d ? d.innerText.replace(/\n{2,}/g,'\n').slice(0,1000) : 'no dialog';
});
console.log('Record now dialog:', recordDialog);
// 3. REFRAME page — already captured but let me get a better one with content
await p.goto('https://mediacmdr.com/reframe.html', { waitUntil: 'networkidle' });
await p.waitForTimeout(4000);
await pause(p);
await p.screenshot({ path: `${OUT}/41-reframe.png` });
// 4. AI ANALYSIS — navigate to library, open an asset, click AI Analysis tab
await p.goto('https://mediacmdr.com/#library?project=5ebf74aa-f5b4-4a83-b089-c9af2cb25d1f', { waitUntil: 'networkidle' });
await p.waitForTimeout(5000);
// Open the Sizzle asset
const opened = await p.evaluate(() => {
const els = [...document.querySelectorAll('*')]
.filter(e => e.offsetHeight > 30 && e.offsetHeight < 400 && /Sizzle/i.test(e.innerText) && e.children.length < 8);
if (els.length) { els[0].click(); els[0].dispatchEvent(new MouseEvent('dblclick', { bubbles: true })); return els[0].innerText.slice(0,60); }
return null;
});
console.log('Opened:', opened);
await p.waitForTimeout(6000);
// Click AI Analysis tab
const aiTab = await p.evaluate(() => {
const t = [...document.querySelectorAll('button,[role=tab],div')]
.filter(e => e.offsetHeight > 0 && e.children.length < 3)
.find(e => /AI Analysis/.test(e.innerText));
if (t) { t.click(); return t.innerText.trim(); } return null;
});
console.log('AI tab:', aiTab);
await p.waitForTimeout(4000);
await pause(p);
await p.screenshot({ path: `${OUT}/42-asset-ai-analysis.png` });
// Get the AI analysis content
const aiContent = await p.evaluate(() => (document.querySelector('main') || document.body).innerText.replace(/\n{2,}/g,'\n').slice(0,2000));
console.log('AI content:', aiContent.slice(0, 800));
await b.close();
})();

127
explore-pages.js Normal file
View file

@ -0,0 +1,127 @@
const { chromium } = require('playwright');
const fs = require('fs');
const OUT = '/home/zgaetano/media-command-guide/screenshots';
const BMG = '5ebf74aa-f5b4-4a83-b089-c9af2cb25d1f';
const COOKIE = 's:d16cd74687c1f5e4322b9d24657efe7da055c019d97fb2e0.nHwwxY6iik6jiySDiKS6aUxacWRQy3T+dCiMTN8Fu8s';
const pause = p => p.evaluate(() => document.querySelectorAll('video').forEach(v => { try { v.pause() } catch(e){} }));
(async () => {
const b = await chromium.launch({ headless: true, 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();
// Helper: dump visible text of menus, buttons, dropdowns
const dumpUI = () => p.evaluate(() => {
const els = [...document.querySelectorAll('button, select, [role=menu], [role=menuitem], [class*=dropdown], [class*=menu], [class*=sub], .nav-item, [class*=tab]')]
.filter(e => e.offsetHeight > 0 && e.innerText.trim())
.map(e => ({ tag: e.tagName, cls: e.className.slice(0,60), text: e.innerText.trim().slice(0,80) }));
return els;
});
// 1. SCHEDULE — explore sub-menus
await p.goto('https://mediacmdr.com/#schedule', { waitUntil: 'networkidle' });
await p.waitForTimeout(4000);
console.log('=== SCHEDULE ===');
const schedUI = await dumpUI();
schedUI.forEach(e => console.log(` [${e.tag}] ${e.cls.slice(0,40)} :: ${e.text}`));
// Screenshot the main schedule
await p.screenshot({ path: `${OUT}/06-live-schedule.png` });
// Look for buttons like "Record now", "New schedule", view toggles
const schedButtons = await p.evaluate(() => [...document.querySelectorAll('button')]
.filter(e => e.offsetHeight > 0).map(e => e.innerText.trim()).filter(Boolean));
console.log('Schedule buttons:', schedButtons);
// Try clicking "New schedule" or similar
const clicked = await p.evaluate(() => {
const btn = [...document.querySelectorAll('button')].find(b => /new schedule/i.test(b.innerText));
if (btn) { btn.click(); return btn.innerText.trim(); }
return null;
});
console.log('Clicked:', clicked);
await p.waitForTimeout(2500);
await p.screenshot({ path: `${OUT}/06b-schedule-new-event.png` });
// Close any modal
await p.evaluate(() => { const c = document.querySelector('[class*=modal] button[class*=close], [class*=dialog] button'); if(c) c.click(); });
await p.waitForTimeout(1000);
// Try view toggles (Day/Week/List)
for (const label of ['Week', 'List']) {
const ok = await p.evaluate(l => {
const b = [...document.querySelectorAll('button')].find(b => b.innerText.trim() === l);
if (b) { b.click(); return true; } return false;
}, label);
if (ok) {
await p.waitForTimeout(2000);
await p.screenshot({ path: `${OUT}/06c-schedule-${label.toLowerCase()}.png` });
console.log('Schedule view:', label);
}
}
// 2. RECORDERS — sub-menus and previews
await p.goto('https://mediacmdr.com/#recorders', { waitUntil: 'networkidle' });
await p.waitForTimeout(4000);
console.log('\n=== RECORDERS ===');
const recUI = await dumpUI();
recUI.forEach(e => console.log(` [${e.tag}] ${e.cls.slice(0,40)} :: ${e.text}`));
await p.screenshot({ path: `${OUT}/05-live-recorders.png` });
// Click on a recorder card with SIGNAL to see preview/details
const recCard = await p.evaluate(() => {
const cards = [...document.querySelectorAll('[class*=card],[class*=port],[class*=recorder]')]
.filter(e => e.offsetHeight > 40 && /SIGNAL/i.test(e.innerText));
if (cards.length) { cards[0].click(); return cards[0].innerText.replace(/\s+/g,' ').slice(0,80); }
return null;
});
console.log('Recorder card clicked:', recCard);
await p.waitForTimeout(4000);
await pause(p);
await p.screenshot({ path: `${OUT}/05b-recorder-detail.png` });
// Check for sub-menus (codec dropdown, actions)
const recDetail = await p.evaluate(() => {
const btns = [...document.querySelectorAll('button, select')].filter(e => e.offsetHeight > 0)
.map(e => e.innerText.trim() || e.value).filter(Boolean);
return btns;
});
console.log('Recorder detail buttons:', recDetail);
// 3. AI ANALYSIS page
await p.goto('https://mediacmdr.com/#analysis', { waitUntil: 'networkidle' });
await p.waitForTimeout(4000);
console.log('\n=== ANALYSIS ===');
const analysisText = await p.evaluate(() => (document.querySelector('main') || document.body).innerText.replace(/\n{2,}/g,'\n').slice(0,1500));
console.log(analysisText);
await p.screenshot({ path: `${OUT}/40-ai-analysis.png` });
// Check for sub-sections
const analysisTabs = await p.evaluate(() => [...document.querySelectorAll('button,[role=tab]')]
.filter(e => e.offsetHeight > 0).map(e => e.innerText.trim()).filter(Boolean));
console.log('Analysis tabs:', analysisTabs);
// 4. REFRAME page
await p.goto('https://mediacmdr.com/reframe.html', { waitUntil: 'networkidle' }).catch(() => {});
await p.waitForTimeout(4000);
console.log('\n=== REFRAME ===');
const reframeText = await p.evaluate(() => document.body.innerText.replace(/\n{2,}/g,'\n').slice(0,1500));
console.log(reframeText);
await p.screenshot({ path: `${OUT}/41-reframe.png` });
// 5. CONTRIBUTION page — what does it actually show?
await p.goto(`https://mediacmdr.com/#contribution`, { waitUntil: 'networkidle' });
await p.waitForTimeout(4000);
console.log('\n=== CONTRIBUTION ===');
const contribText = await p.evaluate(() => (document.querySelector('main') || document.body).innerText.replace(/\n{2,}/g,'\n').slice(0,2000));
console.log(contribText);
await p.screenshot({ path: `${OUT}/11-media-contribution.png` });
const contribButtons = await p.evaluate(() => [...document.querySelectorAll('button, a')]
.filter(e => e.offsetHeight > 0).map(e => e.innerText.trim()).filter(Boolean));
console.log('Contribution buttons:', contribButtons);
// 6. Look at the sidebar nav to confirm "Projects" is still there
const sidebarItems = await p.evaluate(() => {
return [...document.querySelectorAll('.nav-item, [class*=sidebar] a, [class*=sidebar] button')]
.filter(e => e.offsetHeight > 0).map(e => e.innerText.trim()).filter(Boolean);
});
console.log('\n=== SIDEBAR ===');
console.log(sidebarItems);
await b.close();
})();

View file

@ -154,8 +154,8 @@ const html = `<!DOCTYPE html>
<li class="section-header">Live Ingest &amp; Control</li>
<li>4. Recorders</li><li>5. Schedule</li><li>6. Live Graphics</li><li>7. Monitor Wall</li>
<li class="section-header">Media</li>
<li>8. Projects</li><li>9. Library</li><li>10. Asset Detail &amp; Player</li>
<li>11. Upload</li><li>12. Contribution</li><li>13. YouTube Ingest</li><li>14. Cloud Import</li>
<li>8. Projects</li><li>9. Library</li><li>10. Asset Detail &amp; Player</li><li>10a. AI Analysis</li><li>10b. Reframe &amp; Social Publisher</li>
<li>11. Upload</li><li>12. Contribution (Client Uploads)</li><li>13. YouTube Ingest</li><li>14. Cloud Import</li>
<li class="section-header">Operations</li>
<li>15. Jobs</li><li>16. Staging</li><li>17. Playout</li><li>18. Clip Server</li>
<li>19. Editor</li><li>20. Engineering</li><li>21. Applications &amp; Downloads</li>
@ -224,21 +224,61 @@ ${img('02-dashboard-home.png', 'Operations Dashboard — system vitals, recent a
<p>Quick-access tiles link to Library, Recorders, Playout, Jobs, Downloads, and Settings.</p>
<h1>4. Recorders</h1>
${img('05-live-recorders.png', 'Recorders — capture ports and network ingest engines')}
<p>One card per physical capture port (Blackmagic SDI and Deltacast) plus network streams, grouped by node. The header shows <em>enabled · configured</em> counts (e.g. 24 enabled · 29 configured).</p>
<h3>Toolbar</h3>
<ul>
<li><strong>Port cards:</strong> each card represents a capture port (Blackmagic, AJA, or Deltacast).</li>
<li><strong>Signal detection:</strong> real-time input format (<code>1080i59.94</code>, <code>1080p29.97</code>, <code>2160p59.94</code>).</li>
<li><strong>Codec selection:</strong> H.264 intra (35/50/75/100 Mbps tiers) and HEVC intra. Per-port configuration.</li>
<li><strong>Actions:</strong> <code>Create Recording</code>, <code>Add Stream</code> (SRT/RTMP), <code>Reset to Default</code>.</li>
<li><strong>Density toggle:</strong> <em>Dense list</em> (one line per recorder) or <em>Cards</em> (full preview + stats per recorder).</li>
<li><strong>Refresh</strong>, <strong>Reset to Default</strong> (disabled while anything is recording), <strong>Add Stream</strong>, <strong>Create Recording</strong>.</li>
</ul>
${img('05-recorders-dense.png', 'Recorders — Dense list view')}
<h3>Cards view — previews broken out</h3>
${img('05-recorders-cards.png', 'Recorders — Cards view: one preview tile per port with signal, TAMS/HDR and loudness stats')}
${img('05b-recorders-previews.png', 'Recorders — preview tiles per node (NO SIGNAL shown when the SDI source is idle)')}
<p>Each card shows the live preview, detected input signal, elapsed record time, TAMS / HDR badges, loudness, router crosspoint, and a per-recorder <strong>Take project</strong> picker. A <strong>NO SIGNAL</strong> badge means the port has no SDI input; if it appears mid-recording, recording continues but writes no frames.</p>
<h3>Configure recorder (gear icon)</h3>
${img('05d-recorder-configure.png', 'Configure recorder — label, clip-name date placement, recording mode')}
${img('05e-recorder-configure-codec.png', 'Configure recorder — growing master codec tiers')}
<ul>
<li><strong>Label:</strong> friendly name (blank = hardware name, e.g. <code>dragon2-bmd0</code>).</li>
<li><strong>Auto clip name date placement:</strong> Global default · Date first · Date end.</li>
<li><strong>Recording mode:</strong> <em>TAMS</em> (proxy + hi-res segments, 6 s segment cuts) or <em>Intra Growing</em> (grows live on the SMB share for edit-while-record).</li>
<li><strong>Growing master codec:</strong> H.264 all-intra (h264_nvenc, 8-bit SDR) at 35 / 50 / 75 / 100 Mbps, or HEVC long-GOP (hevc_nvenc, 10-bit HDR, ~60 Mbps VBR, ~30% smaller).</li>
<li><strong>TAMS hi-res codec:</strong> HEVC long-GOP or AV1 long-GOP (~15% smaller than HEVC; needs an AV1-capable NLE), plus rate control and bitrate.</li>
</ul>
<h3>Create Recording (batch start)</h3>
${img('05c-create-recording-dialog.png', 'Create Recording — batch-start multiple ports under one crash name')}
<ul>
<li><strong>Crash recorder name</strong> (optional) with a <strong>Date end</strong> toggle for date placement.</li>
<li><strong>Project</strong> applied to all selected ports.</li>
<li><strong>Ports:</strong> check each port to include and name it; clips are named <code>name_YYYYMMDD_HHMMSS</code>.</li>
</ul>
<h1>5. Schedule</h1>
${img('06-live-schedule.png', 'Schedule — automated event-driven recording calendar')}
${img('06-schedule-day.png', 'Schedule — Day view: one timeline lane per recorder')}
<p>The status strip at the top shows what is recording now and what's next. The legend covers <em>Growing (edit-while-record)</em>, <em>On air now</em>, <em>Failed</em> and <em>Past</em>; block colour = project.</p>
<h3>Toolbar</h3>
<ul>
<li>Grid-based calendar with per-port timeline lanes.</li>
<li>Traffic schedule and CSV run-sheet import.</li>
<li>Configurable pre/post-roll padding.</li>
<li><strong>Date:</strong> previous / next day arrows and <strong>Today</strong>.</li>
<li><strong>Views:</strong> Day · Week · List.</li>
<li><strong>Refresh</strong>, <strong>Record now</strong> (start recording on multiple recorders immediately), <strong>New schedule</strong>.</li>
</ul>
${img('06-schedule-week.png', 'Schedule — Week view')}
${img('06c-schedule-list.png', 'Schedule — List view (Upcoming · Past · All filters)')}
<p>List view columns: Name, Recorder, Starts, Duration, Recurrence, Status (pending · recording · completed · cancelled · failed).</p>
<h3>Event menu (right-click a block)</h3>
${img('06e-schedule-context-menu.png', 'Schedule — right-click menu on a completed event (Copy schedule ID, Delete schedule)')}
<ul>
<li><strong>Edit…</strong> (pending or failed events) · <strong>Cancel run</strong> (pending or recording) · <strong>Copy schedule ID</strong> · <strong>Delete schedule</strong> (anything not currently recording). The menu only shows actions valid for the event's state; the example is a completed event.</li>
<li>Left-click a block to open the inspector panel; blocks can be resized on the timeline to change start/end. Marquee and Shift/Ctrl multi-select are supported.</li>
</ul>
${img('06f-schedule-inspector.png', 'Schedule — event inspector')}
<h3>New schedule</h3>
${img('06b-schedule-new.png', 'New scheduled recording')}
<ul>
<li><strong>Name</strong>, <strong>Recorders</strong> (multi-select with Select all), <strong>Project</strong> (default: recorder's own project), <strong>Bin</strong>, start/end time and recurrence.</li>
</ul>
<h3>Record now</h3>
${img('06d-schedule-record-now.png', 'Record now — opens the same batch Create Recording dialog as Recorders')}
<h1>6. Live Graphics</h1>
${img('07-live-graphics.png', 'Live Graphics — HTML5 broadcast overlay engine')}
@ -259,7 +299,7 @@ ${img('08-live-monitor-wall.png', 'Monitor Wall — high-density WebRTC multivie
<h1>8. Projects</h1>
${img('03-projects.png', 'Projects — workspace directory')}
${img('04-project-bmg-overview.png', 'Broadcast Managment Group — bins and folders')}
<p>Projects isolate media, permissions, and bins. Active projects include Broadcast Management Group (12,353 assets), UBS, Protour, First We Feast, and others.</p>
<p>Projects are opened from the Library project switcher and breadcrumbs (there is no Projects button in the sidebar). They isolate media, permissions, and bins. Active projects include Broadcast Management Group (12,353 assets), UBS, Protour, First We Feast, and others.</p>
<ul>
<li><strong>Project creation:</strong> define name, storage allocation, and assigned user groups.</li>
<li><strong>Recycle Bin:</strong> deleted assets quarantine separately per project.</li>
@ -281,22 +321,69 @@ ${img('09b-media-library-asset-inspector.png', 'Asset Detail — BMG Al Jazeera
${img('09c-asset-metadata.png', 'Asset Detail — Metadata tab')}
<ul>
<li><strong>Video player:</strong> proxy playback with timecode scrubbing, J-K-L shuttle, in/out points (<code>I</code>/<code>O</code>).</li>
<li><strong>TAMS adaptive playback:</strong> scrubbing works on multi-hour growing files.</li>
<li><strong>Tabs:</strong> Files, Metadata, Transcript, AI Analysis &amp; Faces, Versions, Comments, Review.</li>
<li><strong>Technical metadata:</strong> container, codec, resolution, frame rate, bit rate, storage path, checksums.</li>
<li><strong>Actions:</strong> Review, Edit, Share, Pull Hi-Res, Reframe &amp; Social, Clip.</li>
<li><strong>Actions:</strong> Review, Edit, Share, Pull Hi-Res, Reframe &amp; Social, Clip. <em>Reframe &amp; Social</em> and <em>AI Analysis</em> open in their own windows (sections 10a and 10b).</li>
</ul>
<h1>10a. AI Analysis</h1>
<p>Opened from an asset (or the Analysis screen) as a dedicated window. Example asset: <code>GH020022.MP4</code> (Broadcast Management Group, NS32 launch coverage). Each tab can be run on its own or with <strong>Analyze All</strong>; previous runs are kept and can be re-run.</p>
${img('42-ai-analysis-overview.png', 'AI Analysis — GH020022.MP4')}
<h3>Story &amp; Editorial</h3>
${img('42-ai-editorial.png', 'Story & Editorial — summary, chapters, soundbites, topics')}
<p>Executive summary, chapters, key soundbites &amp; quotes, topics &amp; entities and Q&amp;A in one brief.</p>
<h3>Clips &amp; Moments</h3>
${img('42-ai-clips.png', 'Clips & Moments — ranked social clip suggestions')}
<p>Ranked social clip suggestions. Each clip can be previewed, cut as a <strong>Subclip</strong> (an instant TAMS subclip, no render), or sent to Reframe in <strong>9:16</strong> or <strong>1:1</strong>.</p>
<h3>People &amp; Faces</h3>
${img('42-ai-faces.png', 'People & Faces — 57 unrecognized faces clustered per person')}
<ul>
<li>Faces are clustered per person within the video, with appearance counts and timestamps.</li>
<li><strong>Identify faces:</strong> step through unrecognized faces and name them (Name this person · Not a face).</li>
<li><strong>Enroll from photo:</strong> upload a reference photo to recognise a person across the library.</li>
<li>Per person: <strong>Rename</strong>, <strong>AI Web Match</strong>, <strong>Merge</strong>.</li>
</ul>
<h3>In Picture</h3>
${img('42-ai-visual.png', 'In Picture — search keyframes by visual content')}
<p>Search keyframes and visual elements by picture content, with a frame log.</p>
<h3>Ask AI</h3>
${img('42-ai-ask.png', 'Ask AI — natural-language questions across the transcript')}
<p>Natural-language search and custom questions answered from the transcript.</p>
<h1>10b. Reframe &amp; Social Publisher</h1>
${img('41-reframe.png', 'Reframe & Social Publisher — GH020022.MP4 at 9:16 with AI face tracking')}
<ul>
<li><strong>Live Reframed Video Monitor:</strong> real-time crop preview with the tracked face highlighted, a play/scrub timeline, and <strong>Set In / Set Out / Clear In-Out</strong>.</li>
<li><strong>Index Faces (AI):</strong> runs face recognition on the video so the crop can follow a person.</li>
<li><strong>Aspect Ratio:</strong> 9:16 Vertical · 1:1 Square · 16:9 HD.</li>
<li><strong>Framing Mode:</strong> AI Face · Center · Left · Right.</li>
<li><strong>Overlay Graphics Template:</strong> Clean (No Overlay) · Lower-Third Speaker Badge · Headline Title Banner, with Headline / Title, Subtitle / Description and Accent Bar Color fields.</li>
<li><strong>Output:</strong> <em>Create reframed TAMS subclip</em> (lands in the Library).</li>
<li><strong>Publish Targets:</strong> YouTube Shorts · TikTok · Instagram · X (Twitter), then <em>Publish to Social Outlets</em>.</li>
</ul>
${img('41b-reframe-full.png', 'Reframe — full control panel')}
<h1>11. Upload</h1>
${img('10-media-upload.png', 'Upload — chunked resumable web ingest')}
<p>Chunked resumable upload with target bin selection. Proxy, thumbnail, and waveform generation trigger automatically on completion.</p>
<h1>12. Contribution</h1>
${img('11-media-contribution.png', 'Contribution — SRT/RTMP ingest for remote broadcast feeds')}
<h1>12. Contribution (Client Uploads)</h1>
${img('11-contribution.png', 'Contribution — Client Uploads: upload links and received files')}
<p>Contribution is for <strong>file deliveries from clients</strong>. You create a link, send it to the client, and they upload through a branded drop page; no Media Command account is needed. Received files land in the chosen project and are checked against a delivery spec.</p>
<h3>Create link</h3>
${img('11b-contribution-create-link.png', 'Create link — name, project, expiry, password, max uploads')}
<ul>
<li><strong>SRT:</strong> caller/listener mode with passphrase and adjustable latency.</li>
<li><strong>RTMP/RTMPS:</strong> custom streaming keys for OBS, vMix, Wirecast.</li>
<li><strong>Auto-recording:</strong> starts a TAMS recording when a contribution stream connects.</li>
<li><strong>Name</strong> (e.g. "Client B-roll drop"), <strong>Project</strong>, <strong>Expires</strong> (default 7 days, or Never), <strong>Max uploads</strong> (optional, default unlimited), <strong>Password</strong> (optional), and the delivery spec to check against.</li>
<li>Copy the link and share it. The client sees "Drop files here", plus a password prompt if one was set.</li>
</ul>
<h3>Delivery specs</h3>
${img('11c-contribution-specs.png', 'Delivery specs — Broadcast default (EBU R128), 8 rules')}
<p>A spec defines what a client is asked to send ("What to send"), e.g. the shared <em>Broadcast default (EBU R128)</em> template with 8 rules, including a loudness target and tolerance. Specs can be created, edited and deleted.</p>
<h3>Received files</h3>
${img('11d-contribution-received.png', 'GamesTV link — 51 files received, each checked against spec')}
<ul>
<li>Each file shows its size and a spec verdict: <strong>MEETS SPEC</strong> or <strong>NEEDS REVIEW</strong> (with "What differs from the spec").</li>
<li>Per file: <strong>Accept</strong>, <strong>Reject</strong>, <strong>Check against spec</strong>.</li>
<li><strong>Inactive links:</strong> expired or turned-off links are kept in a collapsed list, along with the files already received.</li>
</ul>
<h1>13. YouTube Ingest</h1>

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
screenshots/41-reframe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

BIN
screenshots/42-ai-ask.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

BIN
screenshots/42-ai-clips.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

BIN
screenshots/42-ai-faces.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 KiB