diff --git a/Media-Command-Guide.pdf b/Media-Command-Guide.pdf index f3389e8..d54b4c0 100644 Binary files a/Media-Command-Guide.pdf and b/Media-Command-Guide.pdf differ diff --git a/README.md b/README.md index bf8e5bd..2b1060d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/capture-ai-reframe.js b/capture-ai-reframe.js new file mode 100644 index 0000000..3534d9a --- /dev/null +++ b/capture-ai-reframe.js @@ -0,0 +1,22 @@ +const { chromium } = require('playwright'); +const OUT='/home/zgaetano/media-command-guide/screenshots'; +const COOKIE='REDACTED'; +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();})(); diff --git a/capture-rec-sched.js b/capture-rec-sched.js new file mode 100644 index 0000000..435cf83 --- /dev/null +++ b/capture-rec-sched.js @@ -0,0 +1,48 @@ +const { chromium } = require('playwright'); +const OUT='/home/zgaetano/media-command-guide/screenshots'; +const COOKIE='REDACTED'; +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();})(); diff --git a/explore-details.js b/explore-details.js new file mode 100644 index 0000000..df5df30 --- /dev/null +++ b/explore-details.js @@ -0,0 +1,114 @@ +const { chromium } = require('playwright'); +const OUT = '/home/zgaetano/media-command-guide/screenshots'; +const COOKIE = 'REDACTED'; +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(); +})(); diff --git a/explore-pages.js b/explore-pages.js new file mode 100644 index 0000000..29440e6 --- /dev/null +++ b/explore-pages.js @@ -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 = 'REDACTED'; +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(); +})(); diff --git a/generate-pdf.js b/generate-pdf.js index 10b64c9..0a26d62 100644 --- a/generate-pdf.js +++ b/generate-pdf.js @@ -154,8 +154,8 @@ const html = `
  • Live Ingest & Control
  • 4. Recorders
  • 5. Schedule
  • 6. Live Graphics
  • 7. Monitor Wall
  • Media
  • -
  • 8. Projects
  • 9. Library
  • 10. Asset Detail & Player
  • -
  • 11. Upload
  • 12. Contribution
  • 13. YouTube Ingest
  • 14. Cloud Import
  • +
  • 8. Projects
  • 9. Library
  • 10. Asset Detail & Player
  • 10a. AI Analysis
  • 10b. Reframe & Social Publisher
  • +
  • 11. Upload
  • 12. Contribution (Client Uploads)
  • 13. YouTube Ingest
  • 14. Cloud Import
  • Operations
  • 15. Jobs
  • 16. Staging
  • 17. Playout
  • 18. Clip Server
  • 19. Editor
  • 20. Engineering
  • 21. Applications & Downloads
  • @@ -224,21 +224,61 @@ ${img('02-dashboard-home.png', 'Operations Dashboard — system vitals, recent a

    Quick-access tiles link to Library, Recorders, Playout, Jobs, Downloads, and Settings.

    4. Recorders

    -${img('05-live-recorders.png', 'Recorders — capture ports and network ingest engines')} +

    One card per physical capture port (Blackmagic SDI and Deltacast) plus network streams, grouped by node. The header shows enabled · configured counts (e.g. 24 enabled · 29 configured).

    +

    Toolbar

    +${img('05-recorders-dense.png', 'Recorders — Dense list view')} +

    Cards view — previews broken out

    +${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)')} +

    Each card shows the live preview, detected input signal, elapsed record time, TAMS / HDR badges, loudness, router crosspoint, and a per-recorder Take project picker. A NO SIGNAL badge means the port has no SDI input; if it appears mid-recording, recording continues but writes no frames.

    +

    Configure recorder (gear icon)

    +${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')} + +

    Create Recording (batch start)

    +${img('05c-create-recording-dialog.png', 'Create Recording — batch-start multiple ports under one crash name')} +

    5. Schedule

    -${img('06-live-schedule.png', 'Schedule — automated event-driven recording calendar')} +${img('06-schedule-day.png', 'Schedule — Day view: one timeline lane per recorder')} +

    The status strip at the top shows what is recording now and what's next. The legend covers Growing (edit-while-record), On air now, Failed and Past; block colour = project.

    +

    Toolbar

    +${img('06-schedule-week.png', 'Schedule — Week view')} +${img('06c-schedule-list.png', 'Schedule — List view (Upcoming · Past · All filters)')} +

    List view columns: Name, Recorder, Starts, Duration, Recurrence, Status (pending · recording · completed · cancelled · failed).

    +

    Event menu (right-click a block)

    +${img('06e-schedule-context-menu.png', 'Schedule — right-click menu on a completed event (Copy schedule ID, Delete schedule)')} + +${img('06f-schedule-inspector.png', 'Schedule — event inspector')} +

    New schedule

    +${img('06b-schedule-new.png', 'New scheduled recording')} + +

    Record now

    +${img('06d-schedule-record-now.png', 'Record now — opens the same batch Create Recording dialog as Recorders')}

    6. Live Graphics

    ${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

    8. Projects

    ${img('03-projects.png', 'Projects — workspace directory')} ${img('04-project-bmg-overview.png', 'Broadcast Managment Group — bins and folders')} -

    Projects 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 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.