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 - + -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`. + ### Schedule - + -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. + + ### Live Graphics @@ -153,7 +156,7 @@ High-density WebRTC multiviewer for control rooms.  -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.  @@ -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 + + + +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 + + + +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  -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) - + -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..293fdd0 --- /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='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();})(); diff --git a/capture-rec-sched.js b/capture-rec-sched.js new file mode 100644 index 0000000..7be2982 --- /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='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();})(); diff --git a/explore-details.js b/explore-details.js new file mode 100644 index 0000000..b3779e8 --- /dev/null +++ b/explore-details.js @@ -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(); +})(); diff --git a/explore-pages.js b/explore-pages.js new file mode 100644 index 0000000..d4f1173 --- /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 = '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(); +})(); 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 = `
Quick-access tiles link to Library, Recorders, Playout, Jobs, Downloads, and Settings.
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).
+1080i59.94, 1080p29.97, 2160p59.94).Create Recording, Add Stream (SRT/RTMP), Reset to Default.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.
+dragon2-bmd0).name_YYYYMMDD_HHMMSS.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.
+List view columns: Name, Recorder, Starts, Duration, Recurrence, Status (pending · recording · completed · cancelled · failed).
+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.
I/O).Opened from an asset (or the Analysis screen) as a dedicated window. Example asset: GH020022.MP4 (Broadcast Management Group, NS32 launch coverage). Each tab can be run on its own or with Analyze All; previous runs are kept and can be re-run.
Executive summary, chapters, key soundbites & quotes, topics & entities and Q&A in one brief.
+Ranked social clip suggestions. Each clip can be previewed, cut as a Subclip (an instant TAMS subclip, no render), or sent to Reframe in 9:16 or 1:1.
+Search keyframes and visual elements by picture content, with a frame log.
+Natural-language search and custom questions answered from the transcript.
+ +Chunked resumable upload with target bin selection. Proxy, thumbnail, and waveform generation trigger automatically on completion.
-Contribution is for file deliveries from clients. 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.
+A spec defines what a client is asked to send ("What to send"), e.g. the shared Broadcast default (EBU R128) template with 8 rules, including a loudness target and tolerance. Specs can be created, edited and deleted.
+Quick-access tiles link to Library, Recorders, Playout, Jobs, Downloads, and Settings.
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).
+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.
+1080i59.94, 1080p29.97, 2160p59.94).Create Recording, Add Stream (SRT/RTMP), Reset to Default.dragon2-bmd0).name_YYYYMMDD_HHMMSS.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.
+List view columns: Name, Recorder, Starts, Duration, Recurrence, Status (pending · recording · completed · cancelled · failed).
+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.
I/O).Opened from an asset (or the Analysis screen) as a dedicated window. Example asset: GH020022.MP4 (Broadcast Management Group, NS32 launch coverage). Each tab can be run on its own or with Analyze All; previous runs are kept and can be re-run.
Executive summary, chapters, key soundbites & quotes, topics & entities and Q&A in one brief.
+Ranked social clip suggestions. Each clip can be previewed, cut as a Subclip (an instant TAMS subclip, no render), or sent to Reframe in 9:16 or 1:1.
+Search keyframes and visual elements by picture content, with a frame log.
+Natural-language search and custom questions answered from the transcript.
+ +Chunked resumable upload with target bin selection. Proxy, thumbnail, and waveform generation trigger automatically on completion.
-Contribution is for file deliveries from clients. 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.
+A spec defines what a client is asked to send ("What to send"), e.g. the shared Broadcast default (EBU R128) template with 8 rules, including a loudness target and tolerance. Specs can be created, edited and deleted.
+