const { chromium } = require('playwright'); const fs = require('fs'); const path = require('path'); const SCREENSHOTS_DIR = '/home/zgaetano/media-command-guide/screenshots'; const OUTPUT_PDF = '/home/zgaetano/media-command-guide/Media-Command-Guide.pdf'; // Read all screenshots as base64 function imgBase64(filename) { const fpath = path.join(SCREENSHOTS_DIR, filename); if (!fs.existsSync(fpath)) return ''; const data = fs.readFileSync(fpath); return `data:image/png;base64,${data.toString('base64')}`; } const shots = {}; const files = fs.readdirSync(SCREENSHOTS_DIR).filter(f => f.endsWith('.png')); for (const f of files) { shots[f] = imgBase64(f); } console.log(`Loaded ${Object.keys(shots).length} screenshots`); function img(filename, caption) { if (!shots[filename]) return `

Screenshot: ${filename} (not available)

`; return `
${caption}
${caption}
`; } // BMG logo as base64 const logoPath = '/home/zgaetano/wilddragon-site/images/clients/bmg.png'; const logoB64 = fs.existsSync(logoPath) ? `data:image/png;base64,${fs.readFileSync(logoPath).toString('base64')}` : ''; const html = `
${logoB64 ? `` : ''}

Media Command™

Operator & Engineering Guide
Organization: Broadcast Management Group (BMG)
Version: Media Command™ v0.91
Reference Data: 12,353 Indexed Broadcast Assets
Date: October 2026
PRODUCTION · VERIFIED WITH REAL MEDIA

Table of Contents

1. System Overview

Media Command is a broadcast media asset management, live capture, and playout platform.

Architecture

┌──────────────────────────────────────────────────────────────┐
│                       MEDIA COMMAND™                         │
│                  Web UI (esbuild JSX / nginx)                │
└─────────────────────────┬────────────────────────────────────┘
                          │ REST / WebSocket / HTTPS
┌─────────────────────────┴────────────────────────────────────┐
│                    MAM-API Cluster Gateway                    │
│              (Node.js / Express / BullMQ / pg)               │
└───┬──────────────────────┬────────────────────────────┬──────┘
    │                      │                            │
┌───┴──────────┐ ┌─────────┴──────────┐ ┌──────────────┴─────┐
│ Worker Fleet │ │ PostgreSQL 16      │ │ Playout & Ingest   │
│ GPU (NVENC)  │ │ pgvector · Redis 7 │ │ CasparCG / AMCP    │
└──────────────┘ └────────────────────┘ └────────────────────┘

Technology Stack

TAMS fMP4 Master Flows

Media Command records into fragmented MP4 (CMAF) containers. Segments are written sequentially to NVMe, allowing editors to scrub up to the live record edge while capture is still in progress. H.264 and HEVC feeds are stream-copied directly — no transcode required.

2. Authentication & Access Control

${img('01-login-page.png', 'Media Command — Login')}

Authentication Methods

Session: express-session with connect-pg-simple store. Cookie: dragonflight.sid, httpOnly, 30-day lifetime.

Roles

RoleScope
Admin (platform_admin)Full cluster control, user/token provisioning, container management, storage configuration.
OperatorRecorder control, schedule automation, playout queue manipulation, graphics triggering.
ViewerRead-only access to metadata and proxy streams. Default for new SSO users.

Per-project and per-organization permissions provide granular access beyond the global role.

3. Dashboard

${img('02-dashboard-home.png', 'Operations Dashboard — system vitals, recent activity, and quick navigation')}

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

4. Recorders

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-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')}

7. Monitor Wall

${img('08-live-monitor-wall.png', 'Monitor Wall — high-density WebRTC multiviewer')}

8. Projects

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

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.

9. Library

${img('09-media-library-bmg.png', 'Library — BMG workspace with bins and folder hierarchy')} ${img('09a-library-grid-thumbnails.png', 'Library — folder grid with real asset thumbnails')}

10. Asset Detail & Player

${img('09b-media-library-asset-inspector.png', 'Asset Detail — BMG Al Jazeera Sizzle v2.mp4 (1080p HEVC, 0:49)')} ${img('09c-asset-metadata.png', 'Asset Detail — Metadata tab')}

10a. AI Analysis

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.

${img('42-ai-analysis-overview.png', 'AI Analysis — GH020022.MP4')}

Story & Editorial

${img('42-ai-editorial.png', 'Story & Editorial — summary, chapters, soundbites, topics')}

Executive summary, chapters, key soundbites & quotes, topics & entities and Q&A in one brief.

Clips & Moments

${img('42-ai-clips.png', 'Clips & Moments — ranked social clip suggestions')}

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.

People & Faces

${img('42-ai-faces.png', 'People & Faces — 57 unrecognized faces clustered per person')}

In Picture

${img('42-ai-visual.png', 'In Picture — search keyframes by visual content')}

Search keyframes and visual elements by picture content, with a frame log.

Ask AI

${img('42-ai-ask.png', 'Ask AI — natural-language questions across the transcript')}

Natural-language search and custom questions answered from the transcript.

10b. Reframe & Social Publisher

${img('41-reframe.png', 'Reframe & Social Publisher — GH020022.MP4 at 9:16 with AI face tracking')} ${img('41b-reframe-full.png', 'Reframe — full control panel')}

11. Upload

${img('10-media-upload.png', 'Upload — chunked resumable web ingest')}

Chunked resumable upload with target bin selection. Proxy, thumbnail, and waveform generation trigger automatically on completion.

12. Contribution (Client Uploads)

${img('11-contribution.png', 'Contribution — Client Uploads: upload links and received files')}

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.

Create link

${img('11b-contribution-create-link.png', 'Create link — name, project, expiry, password, max uploads')}

Delivery specs

${img('11c-contribution-specs.png', 'Delivery specs — Broadcast default (EBU R128), 8 rules')}

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.

Received files

${img('11d-contribution-received.png', 'GamesTV link — 51 files received, each checked against spec')}

13. YouTube Ingest

${img('12-media-youtube.png', 'YouTube — paste a URL to archive video or live stream')}

Paste any YouTube video or live stream URL for background download into the Library.

14. Cloud Import

${img('13-media-cloud-import.png', 'Cloud Import — Google Drive, Dropbox, and S3 connectors')}

15. Jobs

${img('14-ops-jobs.png', 'Jobs — BullMQ distributed task pipeline')}

Queues cover transcoding, thumbnail/waveform generation, conform/export, and cloud sync. Per-job controls: progress, error log, retry, priority, flush.

16. Staging

${img('15-ops-staging.png', 'Staging — NVMe scratch storage monitoring')}

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

17. Playout

${img('16-ops-playout.png', 'Playout — GamesTV on air')}

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

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

Live inputs

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

SDI inputs that can be cued into the rundown. Only inputs on the channel's node are listed; others are hidden because SDI can only be cued locally.

Overview

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

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

As-Run log

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

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

Staging

${img('16g-playout-staging.png', 'Playout — Staging playlist (not on air)')}

Staging edits a non-air playlist without touching the live rundown; the program monitor and on-air strip keep running above it. Shown: a 60-item playlist, Staging — Tomorrow, built from GamesTV content.

Schedule prep

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

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

18. Clip Server

${img('17-ops-clip-server.png', 'Clip Server — instant-access cart for live replay')}

Pre-loaded frames in shared memory (/dev/shm) for frame-accurate playback.

19. Editor

${img('18-ops-editor.png', 'Editor — browser-based NLE (/editor.html)')}

20. Engineering

${img('19-ops-engineering.png', 'Engineering — capture card, GPU, and network diagnostics')}

Broadcast engineering diagnostics: capture card status, GPU acceleration metrics, and network interface statistics.

21. Applications & Downloads

${img('20-ops-applications.png', 'Applications — plugin and desktop app distribution')} ${img('20b-downloads-modal.png', 'Downloads — Editing plugins tab')} ${img('20c-downloads-desktop-apps.png', 'Downloads — Desktop apps tab')}
ApplicationPlatformInstaller
Premiere Pro UXP PluginmacOS / Windowsdragonflight-mam-2.27.6.ccx
DaVinci Resolve PluginmacOS / Windowsdragonflight-resolve-0.1.2.zip
Media Command TransfermacOS / WindowsMedia-Command-Transfer-0.2.1
Media Command REMImacOS / WindowsMedia-Command-REMI-0.3.3
Dragon-ISOWindowsDragon-ISO-Setup-1.1.0.msi

22. Users & Groups

${img('21-admin-users-groups.png', 'Users & Groups — provisioning and role assignment')}

User provisioning, group management, and role assignment with per-project access boundaries.

23. API Tokens

${img('22-admin-api-tokens.png', 'API Tokens — scoped automation keys')}

Scoped API keys for automation pipelines. Supports expiration and instant revocation.

24. Containers

${img('23-admin-containers.png', 'Containers — Docker fleet status')}

Docker container fleet status across all cluster nodes with resource metrics and lifecycle controls.

25. Logs

${img('24-admin-logs.png', 'Logs — centralized aggregation with severity filtering')}

Centralized log aggregation from all nodes with severity filtering and regex search.

26. Audit Log

${img('25-admin-audit-log.png', 'Audit Log — immutable action history')}

Immutable record of all user actions. Captures user ID, IP, timestamp, and state changes.

27. Cluster

${img('26-admin-cluster.png', 'Cluster — multi-node topology and heartbeat monitoring')}

Cluster topology visualizer with heartbeat and connectivity monitoring.

28. Alerts

${img('27-admin-alerts.png', 'Alerts — operational incident monitoring')}

Active alerts (storage thresholds, signal loss, worker heartbeat drops). Webhook notifications to Discord, Slack, or email.

29. Settings

${img('28-admin-settings.png', 'Settings — storage, encoders, and playout configuration')} ${img('28-settings-tab-storage.png', 'Settings — Storage tab')}

Central configuration for storage paths, S3 endpoints, transcoder profiles, and playout channel topologies.

30. Adobe Premiere Pro UXP Plugin

Package: dragonflight-mam-2.27.6.ccx · Requires: Premiere Pro 2026 (v26+)

Installation

  1. Download the .ccx from the Downloads menu.
  2. Double-click to install via Creative Cloud, or use the UXP Developer Tool.
  3. In Premiere: Window → Extensions → Media Command™.

Capabilities

31. DaVinci Resolve Studio Plugin

Package: dragonflight-resolve-0.1.2.zip · Requires: Resolve Studio 18.5+

Installation

  1. Download and extract to the Workflow Integration Plugins directory.
  2. In Resolve Studio: Workspace → Workflow Integrations → Media Command™ MAM.

Capabilities

32. Media Command Transfer

PlatformFile
macOS Apple SiliconMedia-Command-Transfer-0.2.1-mac-arm64.zip
macOS IntelMedia-Command-Transfer-0.2.1-mac-x64.zip
Windows x64Media-Command-Transfer-0.2.1-win-x64.exe

High-speed desktop uploader with watch folder automation, drag-and-drop upload, and mediacommand:// deep-link protocol for browser-initiated downloads. Builds are unsigned.

33. Media Command REMI

PlatformFile
macOS Apple SiliconMedia-Command-REMI-0.3.3-mac-arm64.zip
macOS IntelMedia-Command-REMI-0.3.3-mac-x64.zip
Windows x64Media-Command-REMI-0.3.3-win-x64.exe

34. Dragon-ISO

Package: Dragon-ISO-Setup-1.1.0.msi · Platform: Windows 10/11

Microsoft Teams NDI ISO controller. Extracts individual participant streams, normalizes to broadcast standards, and re-emits as clean NDI sources with optional disk recording.

35. Safety & Runbooks

Media Deletion Protocol: Deleting an asset moves it to the project's Recycle Bin. Permanent purge requires admin credentials and confirmation dialogs.

Live Growing File Editing

  1. In Recorders, select the target port and set codec to H.264 intra or HEVC intra.
  2. Click Create Recording.
  3. In the Premiere Pro plugin, locate the active recording (red LIVE badge) and click Mount Growing File.
  4. Edit immediately — new segments are recognized dynamically.

Broadcast Management Group — Media Command · October 2026

`; const htmlPath = '/home/zgaetano/media-command-guide/guide.html'; fs.writeFileSync(htmlPath, html); console.log('HTML written to', htmlPath); (async () => { const browser = await chromium.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'] }); const context = await browser.newContext(); const page = await context.newPage(); await page.goto(`file://${htmlPath}`, { waitUntil: 'load' }); await page.waitForTimeout(5000); await page.pdf({ path: OUTPUT_PDF, format: 'Letter', landscape: true, printBackground: true, margin: { top: '18mm', right: '16mm', bottom: '20mm', left: '16mm' }, displayHeaderFooter: true, headerTemplate: '', footerTemplate: '
Broadcast Management Group — Media CommandPage of
' }); console.log('PDF generated at:', OUTPUT_PDF); const stats = fs.statSync(OUTPUT_PDF); console.log('PDF size:', (stats.size / 1024 / 1024).toFixed(1), 'MB'); await browser.close(); })();