Compare commits
No commits in common. "main" and "docs/playout-live-screenshots" have entirely different histories.
main
...
docs/playo
1
.env.example
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
DF_SESSION_COOKIE=s:<your-dragonflight.sid-cookie-value>
|
||||||
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
node_modules/
|
||||||
|
page-text.json
|
||||||
|
capture-log.json
|
||||||
|
.env
|
||||||
BIN
Media-Command-Guide.pdf
Normal file
477
README.md
|
|
@ -1,3 +1,476 @@
|
||||||
# media-command-guide
|
# Media Command™ — End-to-End Operator & Engineering Guide
|
||||||
|
|
||||||
End-to-End Comprehensive Guide to Media Command (Dragonflight MAM), Plugins (Premiere, Resolve), and Companion Apps (Transfer, REMI, Dragon-ISO) with Real Media Screenshots.
|
> **PDF edition:** [Media-Command-Guide.pdf](Media-Command-Guide.pdf)
|
||||||
|
|
||||||
|
> **System Version**: Media Command™ v0.91
|
||||||
|
> **Author**: Broadcast Management Group (BMG)
|
||||||
|
> **Reference Project**: Broadcast Management Group (`12,353` assets)
|
||||||
|
> **Date**: October 2026
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Table of Contents
|
||||||
|
|
||||||
|
1. [System Overview](#1-system-overview)
|
||||||
|
2. [Authentication & Access Control](#2-authentication--access-control)
|
||||||
|
3. [Dashboard](#3-dashboard)
|
||||||
|
4. [Live Ingest & Control](#4-live-ingest--control)
|
||||||
|
- [Recorders](#recorders)
|
||||||
|
- [Schedule](#schedule)
|
||||||
|
- [Live Graphics](#live-graphics)
|
||||||
|
- [Monitor Wall](#monitor-wall)
|
||||||
|
5. [Media](#5-media)
|
||||||
|
- [Projects](#projects)
|
||||||
|
- [Library](#library)
|
||||||
|
- [Asset Detail & Player](#asset-detail--player)
|
||||||
|
- [Upload](#upload)
|
||||||
|
- [Contribution](#contribution)
|
||||||
|
- [YouTube](#youtube)
|
||||||
|
- [Cloud Import](#cloud-import)
|
||||||
|
6. [Operations](#6-operations)
|
||||||
|
- [Jobs](#jobs)
|
||||||
|
- [Staging](#staging)
|
||||||
|
- [Playout](#playout)
|
||||||
|
- [Clip Server](#clip-server)
|
||||||
|
- [Editor](#editor)
|
||||||
|
- [Engineering](#engineering)
|
||||||
|
- [Applications](#applications)
|
||||||
|
7. [Administration](#7-administration)
|
||||||
|
- [Users & Groups](#users--groups)
|
||||||
|
- [API Tokens](#api-tokens)
|
||||||
|
- [Containers](#containers)
|
||||||
|
- [Logs](#logs)
|
||||||
|
- [Audit Log](#audit-log)
|
||||||
|
- [Cluster](#cluster)
|
||||||
|
- [Alerts](#alerts)
|
||||||
|
- [Settings](#settings)
|
||||||
|
8. [Plugins & Desktop Applications](#8-plugins--desktop-applications)
|
||||||
|
- [Adobe Premiere Pro UXP Plugin](#adobe-premiere-pro-uxp-plugin)
|
||||||
|
- [DaVinci Resolve Studio Plugin](#davinci-resolve-studio-plugin)
|
||||||
|
- [Media Command Transfer](#media-command-transfer)
|
||||||
|
- [Media Command REMI](#media-command-remi)
|
||||||
|
- [Dragon-ISO](#dragon-iso)
|
||||||
|
9. [Safety & Runbooks](#9-safety--runbooks)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. System Overview
|
||||||
|
|
||||||
|
**Media Command** is a broadcast media asset management, live capture, and playout platform.
|
||||||
|
|
||||||
|
**Architecture:**
|
||||||
|
- **Web UI**: JSX components bundled by esbuild, served by nginx. HLS.js for adaptive playback, WebRTC for sub-second monitoring.
|
||||||
|
- **API**: Node.js / Express (ESM), PostgreSQL 16 with pgvector, Redis 7, BullMQ job queues.
|
||||||
|
- **Workers**: GPU-accelerated transcoding (NVIDIA NVENC/NVDEC) across a distributed node fleet.
|
||||||
|
- **Playout**: CasparCG sidecar containers driven over AMCP, with HTML graphics overlay layers.
|
||||||
|
|
||||||
|
**TAMS fMP4 Master Flows**: Media Command records into fragmented MP4 (CMAF) containers. Segments are written sequentially, so editors can 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
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Authentication methods:**
|
||||||
|
- **Local credentials**: bcrypt-hashed (cost 12) passwords.
|
||||||
|
- **SSO via Authentik**: OAuth2/OIDC brokering `@broadcastmgmt.com` (Microsoft 365) and `@bmgremi.com` (Google Workspace).
|
||||||
|
- **MFA**: TOTP enforcement available.
|
||||||
|
|
||||||
|
**Session**: `express-session` with `connect-pg-simple` store. Cookie: `dragonflight.sid`, httpOnly, 30-day lifetime.
|
||||||
|
|
||||||
|
**Roles:**
|
||||||
|
|
||||||
|
| Role | Scope |
|
||||||
|
| :--- | :--- |
|
||||||
|
| **Admin** (`platform_admin`) | Full cluster control, user/token provisioning, container management, storage configuration. |
|
||||||
|
| **Operator** | Recorder control, schedule automation, playout queue manipulation, graphics triggering. |
|
||||||
|
| **Viewer** | Read-only access to metadata and proxy streams. Default role for new SSO users. |
|
||||||
|
|
||||||
|
Per-project and per-organization permissions provide granular access boundaries beyond the global role.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Dashboard
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The home screen shows system vitals at a glance:
|
||||||
|
- **Asset count**: total indexed assets across all projects.
|
||||||
|
- **Queue status**: running and failed BullMQ worker tasks.
|
||||||
|
- **Recorder summary**: enabled and configured capture ports.
|
||||||
|
- **Recent activity**: files ingested in the last 24 hours.
|
||||||
|
|
||||||
|
Quick-access tiles link to Library, Recorders, Playout, Jobs, Downloads, and Settings.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Live Ingest & Control
|
||||||
|
|
||||||
|
### Recorders
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- **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`.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Schedule
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- **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
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
HTML5 broadcast graphics overlay engine.
|
||||||
|
- Sandboxed Chromium offscreen rendering for dynamic lower-thirds, scoreboards, and bugs.
|
||||||
|
- DSK layer stacking over playout or recorder preview streams.
|
||||||
|
|
||||||
|
### Monitor Wall
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
High-density WebRTC multiviewer for control rooms.
|
||||||
|
- Grid layouts: `Auto`, `2×2`, `3×3`, `4×4`, `6×6`.
|
||||||
|
- Feed filters: Recorders, WebRTC, Playout Channels.
|
||||||
|
- WHEP/WebRTC streaming with sub-second latency.
|
||||||
|
- Multi-channel audio meters on active tiles.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Media
|
||||||
|
|
||||||
|
### Projects
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
- **Project creation**: define name, storage allocation, and assigned user groups.
|
||||||
|
- **Recycle Bin**: deleted assets quarantine separately per project.
|
||||||
|
|
||||||
|
### Library
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- **Project switcher**: dropdown to switch between assigned projects or `★ All Projects (Admin View)`.
|
||||||
|
- **Search**: full-text search across filenames, tags, and metadata fields.
|
||||||
|
- **Faceted filters**: file type, codec, resolution, date range.
|
||||||
|
- **Display modes**: list view and thumbnail grid.
|
||||||
|
- **Bins**: hierarchical folder organization. Saved searches provide per-user named filter presets.
|
||||||
|
|
||||||
|
### Asset Detail & Player
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Clicking an asset opens its detail view with:
|
||||||
|
- **Video player**: proxy playback with timecode scrubbing, J-K-L shuttle, and in/out point setting (`I`/`O` keys).
|
||||||
|
- **TAMS adaptive playback**: scrubbing works on multi-hour growing capture files.
|
||||||
|
- **Tabs**: Files, Metadata, Transcript, AI Analysis & Faces, Versions, Comments, Review.
|
||||||
|
- **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, thumbnail, and waveform generation trigger automatically on completion.
|
||||||
|
|
||||||
|
### Contribution (Client Uploads)
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
Paste a YouTube video or live stream URL for background download into the Library.
|
||||||
|
|
||||||
|
### Cloud Import
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Import media from external cloud storage:
|
||||||
|
- **Google Drive** and **Dropbox** connectors.
|
||||||
|
- S3-compatible storage (Amazon S3, Wasabi, Backblaze B2, MinIO).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 6. Operations
|
||||||
|
|
||||||
|
### Jobs
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Real-time monitoring of the distributed BullMQ task pipeline. Queues cover transcoding, thumbnail/waveform generation, conform/export, and cloud sync. Per-job controls: progress, error log, retry, priority, flush.
|
||||||
|
|
||||||
|
### Staging
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Monitors NVMe scratch storage across the cluster. Tracks free space and enforces retention policies.
|
||||||
|
|
||||||
|
### Playout
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Master control for 24/7 channels. The screenshots in this section show the **GamesTV** channel live on air.
|
||||||
|
|
||||||
|
**Layout (top to bottom)**
|
||||||
|
- **Header**: channel selector (`GamesTV`), **Channel** (create channel), **Overview**, **Schedule prep**, the `ON AIR` count and station clock.
|
||||||
|
- **Readiness banner**: warnings the operator must clear before air — e.g. *"3 ad breaks still hold the slate — drop ads into Break 95, Break 187, Break 190 or the slate airs"*.
|
||||||
|
- **On-air strip**: timecode clock, current item (`GS_WaitingRoom_30E_TV v7`), time remaining, next SCTE cue, and the transport — **Play**, **Pause**, **Next** (cut to the next item), **Stop** (stop playback, channel stays on), **Channel off** (power the channel down). Buttons explain themselves on hover; for example Pause is disabled while an ad break is on air.
|
||||||
|
- **PGM monitor**: live confidence picture of the channel output.
|
||||||
|
- **Timeline**: 24-hour strip with SCTE-104 cue, graphics and audio tracks.
|
||||||
|
- **Media Bin** (left): **Clips**, **Breaks** and **Live inputs**. Clips not yet in the channel's format show **Convert**, which renders a new TAMS flow in the channel format.
|
||||||
|
- **Rundown** (centre): start, duration, time-of-day start/end, type (PROGRAM, break, etc.) and state (On Air, Next, Scheduled).
|
||||||
|
|
||||||
|
> ⚠️ On a live channel, **Next**, **Stop** and **Channel off** affect air immediately.
|
||||||
|
|
||||||
|
#### Live inputs
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The **Live inputs** tab lists SDI inputs that can be cued into the rundown. Only inputs on the node running the channel are shown (here `dragon4 DC0`–`DC7`); inputs on other nodes are hidden because SDI can only be cued locally.
|
||||||
|
|
||||||
|
#### Overview
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
One card per channel with a live program thumbnail, ON AIR state and output format (e.g. `1080i59`).
|
||||||
|
|
||||||
|
#### As-Run log
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
What actually went to air: time, clip, duration and result (`PLAYED`). Export with **Export CSV** or **Export BXF** for traffic reconciliation.
|
||||||
|
|
||||||
|
#### Staging
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Staging** edits a non-air playlist without touching the live rundown. The panel is labelled **STAGING — NOT ON AIR**; the program monitor and on-air strip keep running above it. Shown here: a 60-item playlist, *Staging — Tomorrow*, built from GamesTV content.
|
||||||
|
- Pick an existing staged playlist or create a new one.
|
||||||
|
- Fill it by dragging clips from the Media Bin, **Search**, **Import CSV**, or **Paste list** (clip names are matched to the catalog).
|
||||||
|
- **Export CSV** to share the list; **Load onto channel** puts the staged playlist on air when it's ready.
|
||||||
|
|
||||||
|
#### Schedule prep
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Offline drafting. Pick a draft or create one with **+ New day**, build it away from air, then publish it to the channel.
|
||||||
|
|
||||||
|
### Clip Server
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Instant-access clip storage for live studio replay. Pre-loaded frames in shared memory (`/dev/shm`) for frame-accurate playback.
|
||||||
|
|
||||||
|
### Editor
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Browser-based NLE at `/editor.html` for rapid clipping and rough-cut assembly.
|
||||||
|
- Multi-track timeline (V1, V2, A1–A5).
|
||||||
|
- In/out trimming on TAMS master flows.
|
||||||
|
- Export to Library with codec presets and crop-to-fill options.
|
||||||
|
|
||||||
|
### Engineering
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
Central distribution portal for NLE plugins and desktop companion apps. See [Section 8](#8-plugins--desktop-applications) for details.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 7. Administration
|
||||||
|
|
||||||
|
### Users & Groups
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
User provisioning, group management, and role assignment.
|
||||||
|
|
||||||
|
### API Tokens
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Generate scoped API keys for automation pipelines. Supports expiration dates and instant revocation.
|
||||||
|
|
||||||
|
### Containers
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Docker container fleet status across all cluster nodes. Resource metrics and lifecycle controls (restart).
|
||||||
|
|
||||||
|
### Logs
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Centralized log aggregation from all nodes with severity filtering and regex search.
|
||||||
|
|
||||||
|
### Audit Log
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Immutable record of all user actions: logins, deletions, metadata edits, permission changes, and playout triggers. Captures user ID, IP address, timestamp, and state changes.
|
||||||
|
|
||||||
|
### Cluster
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Multi-node cluster topology visualizer with heartbeat and connectivity monitoring.
|
||||||
|
|
||||||
|
### Alerts
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Central configuration for storage paths, S3 endpoints, transcoder profiles, and playout channel topologies.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 8. Plugins & Desktop Applications
|
||||||
|
|
||||||
|
### Adobe Premiere Pro UXP Plugin
|
||||||
|
|
||||||
|
**Package**: `dragonflight-mam-2.27.6.ccx`
|
||||||
|
**Requires**: Adobe Premiere Pro 2026 (v26+)
|
||||||
|
|
||||||
|
**Installation:**
|
||||||
|
1. Download the `.ccx` from the Downloads menu in Media Command.
|
||||||
|
2. Double-click to install via Creative Cloud, or use the Adobe UXP Developer Tool.
|
||||||
|
3. In Premiere Pro: **Window → Extensions → Media Command™**.
|
||||||
|
|
||||||
|
**Capabilities:**
|
||||||
|
- Browse the MAM library, search assets, and import proxy or hi-res renditions.
|
||||||
|
- Mount live growing TAMS capture streams for edit-while-record workflows.
|
||||||
|
- Relink proxy edits to full-resolution masters.
|
||||||
|
- Export sequences directly to MAM project bins with automatic render dispatch.
|
||||||
|
|
||||||
|
### DaVinci Resolve Studio Plugin
|
||||||
|
|
||||||
|
**Package**: `dragonflight-resolve-0.1.2.zip`
|
||||||
|
**Requires**: DaVinci Resolve Studio 18.5+
|
||||||
|
|
||||||
|
**Installation:**
|
||||||
|
1. Download and extract to the Workflow Integration Plugins directory:
|
||||||
|
- **macOS**: `/Library/Application Support/Blackmagic Design/DaVinci Resolve/Workflow Integration Plugins/`
|
||||||
|
- **Windows**: `%PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Support\Workflow Integration Plugins\`
|
||||||
|
2. In Resolve Studio: **Workspace → Workflow Integrations → Media Command™ MAM**.
|
||||||
|
|
||||||
|
**Capabilities:**
|
||||||
|
- Browse and search the MAM asset catalog.
|
||||||
|
- Import assets directly into the Resolve Media Pool.
|
||||||
|
|
||||||
|
### Media Command Transfer
|
||||||
|
|
||||||
|
**Packages:**
|
||||||
|
| Platform | File |
|
||||||
|
| :--- | :--- |
|
||||||
|
| macOS Apple Silicon | `Media-Command-Transfer-0.2.1-mac-arm64.zip` |
|
||||||
|
| macOS Intel | `Media-Command-Transfer-0.2.1-mac-x64.zip` |
|
||||||
|
| Windows x64 | `Media-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.
|
||||||
|
|
||||||
|
### Media Command REMI
|
||||||
|
|
||||||
|
**Packages:**
|
||||||
|
| Platform | File |
|
||||||
|
| :--- | :--- |
|
||||||
|
| macOS Apple Silicon | `Media-Command-REMI-0.3.3-mac-arm64.zip` |
|
||||||
|
| macOS Intel | `Media-Command-REMI-0.3.3-mac-x64.zip` |
|
||||||
|
| Windows x64 | `Media-Command-REMI-0.3.3-win-x64.exe` |
|
||||||
|
|
||||||
|
Low-latency multiviewer for remote production monitoring.
|
||||||
|
- Up to 8 tiles per window with configurable grid layouts.
|
||||||
|
- Proxy / QC mode toggle for full-quality NVENC streams.
|
||||||
|
- Audio metering with channel pair selection, solo, and mute.
|
||||||
|
- Broadcast OSD overlays (tally, timecode, safe area, crosshairs).
|
||||||
|
- Multi-window, multi-display support.
|
||||||
|
- HTTP REST API and WebSocket for Bitfocus Companion / Stream Deck integration.
|
||||||
|
- Builds are unsigned.
|
||||||
|
|
||||||
|
### Dragon-ISO
|
||||||
|
|
||||||
|
**Package**: `Dragon-ISO-Setup-1.1.0.msi`
|
||||||
|
**Platform**: Windows 10/11
|
||||||
|
|
||||||
|
Microsoft Teams NDI ISO controller. Extracts individual participant streams from Teams NDI feeds, normalizes them to uniform broadcast standards, and re-emits as clean isolated NDI sources with optional direct-to-disk recording.
|
||||||
|
|
||||||
|
- REST & WebSocket control on `127.0.0.1:9755`.
|
||||||
|
- OSC server on UDP `127.0.0.1:9000` for Companion and TouchOSC.
|
||||||
|
- Mobile web controller at `http://localhost:9755/ui`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 9. Safety & Runbooks
|
||||||
|
|
||||||
|
### Media Deletion Protocol
|
||||||
|
|
||||||
|
> Deleting an asset in the UI moves it to the project's Recycle Bin. Permanent purge requires administrative 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*
|
||||||
|
|
|
||||||
23
capture-ai-reframe.js
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const OUT='/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
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();})();
|
||||||
96
capture-bmg-media.js
Normal file
|
|
@ -0,0 +1,96 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const path = require('path');
|
||||||
|
|
||||||
|
const OUT_DIR = '/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
const COOKIE_VAL = process.env.DF_SESSION_COOKIE;
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
const browser = await chromium.launch({
|
||||||
|
headless: true,
|
||||||
|
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage', '--disable-gpu']
|
||||||
|
});
|
||||||
|
|
||||||
|
const context = await browser.newContext({
|
||||||
|
viewport: { width: 1920, height: 1080 },
|
||||||
|
deviceScaleFactor: 1
|
||||||
|
});
|
||||||
|
|
||||||
|
await context.addCookies([{
|
||||||
|
name: 'dragonflight.sid',
|
||||||
|
value: COOKIE_VAL,
|
||||||
|
domain: 'mediacmdr.com',
|
||||||
|
path: '/',
|
||||||
|
httpOnly: true,
|
||||||
|
secure: true
|
||||||
|
}]);
|
||||||
|
|
||||||
|
const page = await context.newPage();
|
||||||
|
|
||||||
|
// 1. Go to Library and select Broadcast Management Group
|
||||||
|
await page.goto('https://mediacmdr.com/', { waitUntil: 'networkidle' });
|
||||||
|
await page.waitForTimeout(2000);
|
||||||
|
|
||||||
|
// Click Library
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const items = Array.from(document.querySelectorAll('.nav-item'));
|
||||||
|
const target = items.find(i => i.innerText.trim().startsWith('Library'));
|
||||||
|
if (target) target.click();
|
||||||
|
});
|
||||||
|
await page.waitForTimeout(3000);
|
||||||
|
|
||||||
|
// Select BMG project from dropdown
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const sel = document.querySelector('.library-project-select, select');
|
||||||
|
if (sel) {
|
||||||
|
sel.value = '5ebf74aa-f5b4-4a83-b089-c9af2cb25d1f';
|
||||||
|
sel.dispatchEvent(new Event('change', { bubbles: true }));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
await page.waitForTimeout(4000);
|
||||||
|
|
||||||
|
// Pause videos and snap
|
||||||
|
await page.evaluate(() => document.querySelectorAll('video').forEach(v => { try { v.pause(); } catch(e){} }));
|
||||||
|
await page.screenshot({ path: path.join(OUT_DIR, '09-media-library-bmg.png'), fullPage: false });
|
||||||
|
console.log('Saved: 09-media-library-bmg.png');
|
||||||
|
|
||||||
|
// 2. Click on the first asset to open Asset Detail / Inspector
|
||||||
|
const clickedAsset = await page.evaluate(() => {
|
||||||
|
const rows = Array.from(document.querySelectorAll('tbody tr, .asset-card, .grid-item, [role="row"]'));
|
||||||
|
// Find a row with asset name
|
||||||
|
for (const r of rows) {
|
||||||
|
if (r.innerText && (r.innerText.includes('.mov') || r.innerText.includes('.mp4') || r.innerText.includes('.mxf') || r.innerText.includes('7H') || r.innerText.includes('KB') || r.innerText.includes('MB') || r.innerText.includes('GB'))) {
|
||||||
|
r.click();
|
||||||
|
return r.innerText.slice(0, 80);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
});
|
||||||
|
console.log('Clicked asset:', clickedAsset);
|
||||||
|
await page.waitForTimeout(4000);
|
||||||
|
|
||||||
|
await page.evaluate(() => document.querySelectorAll('video').forEach(v => { try { v.pause(); } catch(e){} }));
|
||||||
|
await page.screenshot({ path: path.join(OUT_DIR, '09b-media-library-asset-inspector.png'), fullPage: false });
|
||||||
|
console.log('Saved: 09b-media-library-asset-inspector.png');
|
||||||
|
|
||||||
|
// 3. Open Downloads modal from Home
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const items = Array.from(document.querySelectorAll('.nav-item'));
|
||||||
|
const target = items.find(i => i.innerText.trim().startsWith('Home'));
|
||||||
|
if (target) target.click();
|
||||||
|
});
|
||||||
|
await page.waitForTimeout(2000);
|
||||||
|
|
||||||
|
// Click Downloads card
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const cards = Array.from(document.querySelectorAll('*'));
|
||||||
|
const dlCard = cards.find(el => el.innerText && el.innerText.includes('Downloads') && el.innerText.includes('Plugin · Dragon-ISO'));
|
||||||
|
if (dlCard) dlCard.click();
|
||||||
|
});
|
||||||
|
await page.waitForTimeout(2000);
|
||||||
|
|
||||||
|
await page.screenshot({ path: path.join(OUT_DIR, '20b-downloads-modal.png'), fullPage: false });
|
||||||
|
console.log('Saved: 20b-downloads-modal.png');
|
||||||
|
|
||||||
|
await browser.close();
|
||||||
|
})();
|
||||||
27
capture-playout-live.js
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
// Read-only captures of a live playout channel. NEVER click transport/Channel off/Convert/Add.
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
const OUT='/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
const SAFE=/^(Overview|Schedule prep|As-Run|Live inputs.*|Clips.*|Breaks.*|GamesTV)$/;
|
||||||
|
(async()=>{
|
||||||
|
const b=await chromium.launch({args:['--no-sandbox','--autoplay-policy=no-user-gesture-required']});
|
||||||
|
const c=await b.newContext({viewport:{width:1920,height:1080}});
|
||||||
|
await c.addCookies([{name:'dragonflight.sid',value:COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
|
||||||
|
const p=await c.newPage();
|
||||||
|
const txt=async()=>(await p.evaluate(()=>document.body.innerText.replace(/\b\d\d:\d\d\b \| /g,'').replace(/\n+/g,' | '))).slice(0,1800);
|
||||||
|
const tab=async(label)=>{ if(!SAFE.test(label)) throw new Error('unsafe '+label);
|
||||||
|
const btn=p.locator('button',{hasText:label}).first(); await btn.click(); await p.waitForTimeout(5000);};
|
||||||
|
const home=async()=>{await p.goto('https://mediacmdr.com/#home',{waitUntil:'networkidle'});await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(9000);};
|
||||||
|
await home();
|
||||||
|
await p.screenshot({path:`${OUT}/16-ops-playout.png`});
|
||||||
|
await p.screenshot({path:`${OUT}/16a-playout-full.png`,fullPage:true});
|
||||||
|
console.log('MAIN',await txt());
|
||||||
|
for (const [l,f] of [['Live inputs','16b-playout-live-inputs'],['Breaks','16c-playout-breaks']]) {
|
||||||
|
await tab(l); await p.screenshot({path:`${OUT}/${f}.png`}); }
|
||||||
|
for (const [l,f] of [['As-Run','16e-playout-asrun'],['Overview','16d-playout-overview'],['Schedule prep','16f-playout-schedule-prep']]) {
|
||||||
|
await home(); await tab(l); await p.screenshot({path:`${OUT}/${f}.png`}); console.log('==',l,p.url(),await txt()); await p.keyboard.press('Escape'); }
|
||||||
|
for (const [h,f] of [['monitor-wall','08-live-monitor-wall'],['home','02-dashboard-home']]) {
|
||||||
|
await p.goto('https://mediacmdr.com/#'+h,{waitUntil:'networkidle'});await p.waitForTimeout(10000);
|
||||||
|
await p.screenshot({path:`${OUT}/${f}.png`}); console.log('==',h,(await txt()).slice(0,800)); }
|
||||||
|
await b.close();})();
|
||||||
18
capture-playout-staging.js
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
// Read-only: opens Staging with the pre-built non-air playlist selected (via localStorage). No transport clicks.
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
const OUT='/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
const CH='ccea5e02-2c7e-4154-953b-1f9621336ceb', PL=process.argv[2];
|
||||||
|
(async()=>{
|
||||||
|
const b=await chromium.launch({args:['--no-sandbox']});
|
||||||
|
const c=await b.newContext({viewport:{width:1920,height:1080}});
|
||||||
|
await c.addCookies([{name:'dragonflight.sid',value:COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
|
||||||
|
await c.addInitScript(([k,v])=>localStorage.setItem(k,v),['df.staging.'+CH,PL]);
|
||||||
|
const p=await c.newPage();
|
||||||
|
p.on('request',r=>{if(r.url().includes('/api/')&&r.method()!=='GET')console.log('WRITE',r.method(),r.url())});
|
||||||
|
await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(8000);
|
||||||
|
await p.locator('button',{hasText:/^Staging$/}).first().click(); await p.waitForTimeout(6000);
|
||||||
|
await p.screenshot({path:`${OUT}/16g-playout-staging.png`});
|
||||||
|
console.log((await p.evaluate(()=>document.body.innerText)).match(/STAGING[\s\S]{0,700}/)?.[0]);
|
||||||
|
await b.close();})();
|
||||||
49
capture-rec-sched.js
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const OUT='/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
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();})();
|
||||||
191
capture.js
Normal file
|
|
@ -0,0 +1,191 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const path = require('path');
|
||||||
|
const fs = require('fs');
|
||||||
|
|
||||||
|
const OUT_DIR = '/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
fs.mkdirSync(OUT_DIR, { recursive: true });
|
||||||
|
|
||||||
|
const COOKIE_VAL = process.env.DF_SESSION_COOKIE;
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
const browser = await chromium.launch({
|
||||||
|
headless: true,
|
||||||
|
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage', '--disable-gpu']
|
||||||
|
});
|
||||||
|
|
||||||
|
const context = await browser.newContext({
|
||||||
|
viewport: { width: 1920, height: 1080 },
|
||||||
|
deviceScaleFactor: 1,
|
||||||
|
ignoreHTTPSErrors: true
|
||||||
|
});
|
||||||
|
|
||||||
|
// Set auth cookie
|
||||||
|
await context.addCookies([{
|
||||||
|
name: 'dragonflight.sid',
|
||||||
|
value: COOKIE_VAL,
|
||||||
|
domain: 'mediacmdr.com',
|
||||||
|
path: '/',
|
||||||
|
httpOnly: true,
|
||||||
|
secure: true,
|
||||||
|
sameSite: 'Lax'
|
||||||
|
}]);
|
||||||
|
|
||||||
|
const page = await context.newPage();
|
||||||
|
|
||||||
|
// Helper to pause videos and screenshot
|
||||||
|
async function snap(filename, waitMs = 2000) {
|
||||||
|
await page.waitForTimeout(waitMs);
|
||||||
|
await page.evaluate(() => {
|
||||||
|
document.querySelectorAll('video').forEach(v => { try { v.pause(); } catch(e){} });
|
||||||
|
});
|
||||||
|
const dest = path.join(OUT_DIR, filename);
|
||||||
|
await page.screenshot({ path: dest, fullPage: false });
|
||||||
|
console.log(`Saved: ${filename}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper to click sidebar nav
|
||||||
|
async function clickNav(label) {
|
||||||
|
console.log(`Navigating to: ${label}`);
|
||||||
|
await page.evaluate((lbl) => {
|
||||||
|
const items = Array.from(document.querySelectorAll('.nav-item'));
|
||||||
|
const target = items.find(i => i.innerText.trim().startsWith(lbl));
|
||||||
|
if (target) target.click();
|
||||||
|
}, label);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 1. Home / Dashboard
|
||||||
|
await page.goto('https://mediacmdr.com/', { waitUntil: 'networkidle' });
|
||||||
|
await snap('02-dashboard-home.png', 3000);
|
||||||
|
|
||||||
|
// 2. LIVE Section
|
||||||
|
await clickNav('Recorders');
|
||||||
|
await snap('05-live-recorders.png', 3000);
|
||||||
|
|
||||||
|
await clickNav('Schedule');
|
||||||
|
await snap('06-live-schedule.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Graphics');
|
||||||
|
await snap('07-live-graphics.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Monitor Wall');
|
||||||
|
await snap('08-live-monitor-wall.png', 3000);
|
||||||
|
|
||||||
|
// 3. MEDIA Section
|
||||||
|
await clickNav('Projects');
|
||||||
|
await snap('03-projects.png', 2000);
|
||||||
|
|
||||||
|
// Open Broadcast Managment Group project
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const all = Array.from(document.querySelectorAll('*'));
|
||||||
|
const bmgCard = all.find(el => el.innerText && el.innerText.includes('Broadcast Managment Group') && el.innerText.includes('assets'));
|
||||||
|
if (bmgCard) bmgCard.click();
|
||||||
|
});
|
||||||
|
await snap('04-project-bmg-overview.png', 3000);
|
||||||
|
|
||||||
|
await clickNav('Library');
|
||||||
|
await snap('09-media-library.png', 4000);
|
||||||
|
|
||||||
|
// Open an asset inspector modal
|
||||||
|
try {
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const row = document.querySelector('tbody tr') || document.querySelector('.asset-row') || document.querySelector('.asset-card');
|
||||||
|
if (row) row.click();
|
||||||
|
});
|
||||||
|
await snap('09b-media-library-asset-inspector.png', 3000);
|
||||||
|
|
||||||
|
// Close modal
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const closeBtn = document.querySelector('.modal-close, button[aria-label="Close"], .dialog-close, .btn-close');
|
||||||
|
if (closeBtn) closeBtn.click();
|
||||||
|
else document.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', code: 'Escape', bubbles: true }));
|
||||||
|
});
|
||||||
|
await page.waitForTimeout(1000);
|
||||||
|
} catch (e) {
|
||||||
|
console.log('Asset inspector modal skip:', e.message);
|
||||||
|
}
|
||||||
|
|
||||||
|
await clickNav('Upload');
|
||||||
|
await snap('10-media-upload.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Contribution');
|
||||||
|
await snap('11-media-contribution.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('YouTube');
|
||||||
|
await snap('12-media-youtube.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Cloud Import');
|
||||||
|
await snap('13-media-cloud-import.png', 2000);
|
||||||
|
|
||||||
|
// 4. OPERATIONS Section
|
||||||
|
await clickNav('Jobs');
|
||||||
|
await snap('14-ops-jobs.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Staging');
|
||||||
|
await snap('15-ops-staging.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Playout');
|
||||||
|
await snap('16-ops-playout.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Clip Server');
|
||||||
|
await snap('17-ops-clip-server.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Editor');
|
||||||
|
await snap('18-ops-editor.png', 3000);
|
||||||
|
|
||||||
|
await clickNav('Engineering');
|
||||||
|
await snap('19-ops-engineering.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Applications');
|
||||||
|
await snap('20-ops-applications.png', 2000);
|
||||||
|
|
||||||
|
// 5. ADMIN Section
|
||||||
|
await clickNav('Users & Groups');
|
||||||
|
await snap('21-admin-users-groups.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('API Tokens');
|
||||||
|
await snap('22-admin-api-tokens.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Containers');
|
||||||
|
await snap('23-admin-containers.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Logs');
|
||||||
|
await snap('24-admin-logs.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Audit Log');
|
||||||
|
await snap('25-admin-audit-log.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Cluster');
|
||||||
|
await snap('26-admin-cluster.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Alerts');
|
||||||
|
await snap('27-admin-alerts.png', 2000);
|
||||||
|
|
||||||
|
await clickNav('Settings');
|
||||||
|
await snap('28-admin-settings.png', 2000);
|
||||||
|
|
||||||
|
// Settings tabs if present
|
||||||
|
try {
|
||||||
|
const tabs = await page.evaluate(() => {
|
||||||
|
return Array.from(document.querySelectorAll('.tab, [role="tab"], .settings-tab, button')).filter(b => {
|
||||||
|
const t = b.innerText.trim();
|
||||||
|
return ['Storage', 'S3', 'Encoder', 'Playout', 'General', 'Integrations', 'License'].includes(t);
|
||||||
|
}).map(b => b.innerText.trim());
|
||||||
|
});
|
||||||
|
console.log('Found settings tabs:', tabs);
|
||||||
|
for (let i = 0; i < tabs.length; i++) {
|
||||||
|
const tabName = tabs[i];
|
||||||
|
await page.evaluate((t) => {
|
||||||
|
const all = Array.from(document.querySelectorAll('.tab, [role="tab"], .settings-tab, button'));
|
||||||
|
const target = all.find(el => el.innerText.trim() === t);
|
||||||
|
if (target) target.click();
|
||||||
|
}, tabName);
|
||||||
|
await snap(`28-settings-tab-${tabName.toLowerCase().replace(/[^a-z0-9]/g, '-')}.png`, 1500);
|
||||||
|
}
|
||||||
|
} catch(e) {
|
||||||
|
console.log('Settings tabs error:', e.message);
|
||||||
|
}
|
||||||
|
|
||||||
|
await browser.close();
|
||||||
|
console.log('All screenshots captured successfully!');
|
||||||
|
})();
|
||||||
10
dl-text.js
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
(async()=>{const b=await chromium.launch({args:['--no-sandbox']});const c=await b.newContext({viewport:{width:1920,height:1080}});
|
||||||
|
await c.addCookies([{name:'dragonflight.sid',value:process.env.DF_SESSION_COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
|
||||||
|
const p=await c.newPage();await p.goto('https://mediacmdr.com/#home',{waitUntil:'networkidle'});await p.waitForTimeout(3000);
|
||||||
|
const ct=(s)=>p.evaluate(s=>{const e=[...document.querySelectorAll('button,[role=tab],a,div,span')].filter(x=>x.offsetHeight>0&&x.children.length<4).find(x=>new RegExp(s,'i').test((x.innerText||'').trim()));e&&e.click();return !!e},s);
|
||||||
|
await ct('^Downloads');await p.waitForTimeout(2000);await ct('^Desktop apps');await p.waitForTimeout(2000);
|
||||||
|
console.log(await p.evaluate(()=>{const d=document.querySelector('[role=dialog],[class*=modal]');return d?d.innerText:'nodialog'}));
|
||||||
|
console.log(JSON.stringify(await p.evaluate(()=>[...document.querySelectorAll('[role=dialog] a,[class*=modal] a')].map(a=>a.getAttribute('href')))));
|
||||||
|
await b.close()})();
|
||||||
13
editor.js
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
(async()=>{const b=await chromium.launch({args:['--no-sandbox']});const c=await b.newContext({viewport:{width:1920,height:1080}});
|
||||||
|
await c.addCookies([{name:'dragonflight.sid',value:process.env.DF_SESSION_COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
|
||||||
|
const p=await c.newPage();await p.goto('https://mediacmdr.com/editor.html',{waitUntil:'networkidle'});await p.waitForTimeout(3000);
|
||||||
|
const r=await p.evaluate(()=>{const s=[...document.querySelectorAll('select')].find(s=>[...s.options].some(o=>/Broadcast Managment/.test(o.text)));if(!s)return 'nosel';const o=[...s.options].find(o=>/Broadcast Managment/.test(o.text));s.value=o.value;s.dispatchEvent(new Event('change',{bubbles:true}));return o.value});
|
||||||
|
console.log('sel',r);await p.waitForTimeout(6000);
|
||||||
|
const it=null;
|
||||||
|
console.log('item',it);await p.waitForTimeout(4000);
|
||||||
|
await p.keyboard.press('e');await p.waitForTimeout(3000);
|
||||||
|
await p.evaluate(()=>document.querySelectorAll('video').forEach(v=>{try{v.pause()}catch(e){}}));
|
||||||
|
await p.screenshot({path:'screenshots/18-ops-editor.png'});
|
||||||
|
console.log(await p.evaluate(()=>document.body.innerText.replace(/\s+/g,' ').slice(0,500)));await b.close()})();
|
||||||
115
explore-details.js
Normal file
|
|
@ -0,0 +1,115 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const OUT = '/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
const COOKIE = process.env.DF_SESSION_COOKIE;
|
||||||
|
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();
|
||||||
|
})();
|
||||||
128
explore-pages.js
Normal file
|
|
@ -0,0 +1,128 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const fs = require('fs');
|
||||||
|
const OUT = '/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
const BMG = '5ebf74aa-f5b4-4a83-b089-c9af2cb25d1f';
|
||||||
|
const COOKIE = process.env.DF_SESSION_COOKIE;
|
||||||
|
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();
|
||||||
|
})();
|
||||||
14
explore-playout.js
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
(async()=>{
|
||||||
|
const b=await chromium.launch({args:['--no-sandbox','--autoplay-policy=no-user-gesture-required']});
|
||||||
|
const c=await b.newContext({viewport:{width:1920,height:1080}});
|
||||||
|
await c.addCookies([{name:'dragonflight.sid',value:COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
|
||||||
|
const p=await c.newPage();
|
||||||
|
await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(6000);
|
||||||
|
console.log('URL',p.url());
|
||||||
|
console.log(await p.evaluate(()=>document.querySelector('main,#app,body').innerText.replace(/\n+/g,' | ').slice(0,3000)));
|
||||||
|
console.log('BUTTONS',await p.evaluate(()=>[...document.querySelectorAll('button,a[href^="#"]')].filter(e=>e.offsetParent).map(e=>(e.innerText.trim()||e.title||e.getAttribute('href')).slice(0,30)).join(' ; ')));
|
||||||
|
await p.screenshot({path:'/home/zgaetano/.hermes/cache/scratch/po1.png'});
|
||||||
|
await b.close();})();
|
||||||
13
explore-playout2.js
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const COOKIE=process.env.DF_SESSION_COOKIE;
|
||||||
|
(async()=>{
|
||||||
|
const b=await chromium.launch({args:['--no-sandbox']});
|
||||||
|
const c=await b.newContext({viewport:{width:1920,height:1080}});
|
||||||
|
await c.addCookies([{name:'dragonflight.sid',value:COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
|
||||||
|
const p=await c.newPage();
|
||||||
|
await p.goto('https://mediacmdr.com/#playout',{waitUntil:'networkidle'});await p.waitForTimeout(6000);
|
||||||
|
const r=await p.evaluate(()=>[...document.querySelectorAll('button,[role=tab],select')].filter(e=>e.offsetParent&&!/^\d\d:\d\d$/.test(e.innerText.trim())).map(e=>`${e.tagName}|${e.innerText.trim().replace(/\s+/g,' ').slice(0,40)}|${e.title||''}|${e.getAttribute('aria-label')||''}`));
|
||||||
|
console.log(r.slice(0,200).join('\n'));
|
||||||
|
console.log('VIDEO',await p.evaluate(()=>document.querySelectorAll('video,canvas').length));
|
||||||
|
await b.close();})();
|
||||||
610
generate-pdf.js
Normal file
|
|
@ -0,0 +1,610 @@
|
||||||
|
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 `<p class="missing">Screenshot: ${filename} (not available)</p>`;
|
||||||
|
return `<figure>
|
||||||
|
<img src="${shots[filename]}" alt="${caption}" />
|
||||||
|
<figcaption>${caption}</figcaption>
|
||||||
|
</figure>`;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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 = `<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Nunito:wght@400;600;700&family=Fira+Code:wght@400;500&display=swap" rel="stylesheet">
|
||||||
|
<style>
|
||||||
|
@page { size: letter landscape; margin: 18mm 16mm 20mm 16mm; }
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
body {
|
||||||
|
font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
|
||||||
|
color: #0f172a; background: #ffffff;
|
||||||
|
line-height: 1.6; font-size: 11pt; margin: 0; padding: 0;
|
||||||
|
}
|
||||||
|
.cover {
|
||||||
|
page-break-after: always; height: 100vh;
|
||||||
|
display: flex; flex-direction: column; justify-content: center; align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
background: linear-gradient(155deg, #0a0d14 0%, #141923 40%, #0a0d14 100%);
|
||||||
|
color: #e2e8f0; padding: 60px;
|
||||||
|
margin: -18mm -16mm; width: calc(100% + 32mm);
|
||||||
|
}
|
||||||
|
.cover-logo { width: 120px; height: auto; margin-bottom: 32px; opacity: 0.9; }
|
||||||
|
.cover h1 {
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 800;
|
||||||
|
font-size: 44pt; letter-spacing: -1.5px; margin: 0 0 6px; color: #EC1313;
|
||||||
|
}
|
||||||
|
.cover .subtitle {
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 600;
|
||||||
|
font-size: 13pt; color: #94a3b8; letter-spacing: 3px; text-transform: uppercase;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
|
.cover .meta { font-size: 10.5pt; color: #64748b; line-height: 2; }
|
||||||
|
.cover .meta strong { color: #94a3b8; }
|
||||||
|
.cover .badge {
|
||||||
|
display: inline-block; padding: 6px 18px;
|
||||||
|
border: 1px solid #2a3346; border-radius: 20px;
|
||||||
|
font-size: 9pt; color: #EC1313; margin-top: 28px; letter-spacing: 1.5px;
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 600;
|
||||||
|
}
|
||||||
|
.toc { page-break-after: always; padding-top: 20px; }
|
||||||
|
.toc h2 {
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 700;
|
||||||
|
font-size: 22pt; color: #0f172a; border-bottom: 3px solid #c61010; padding-bottom: 8px;
|
||||||
|
}
|
||||||
|
.toc ul { list-style: none; padding: 0; }
|
||||||
|
.toc li { padding: 5px 0; border-bottom: 1px solid #e2e8f0; font-size: 10.5pt; }
|
||||||
|
.toc .section-header {
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 700;
|
||||||
|
color: #c61010; margin-top: 14px; font-size: 11pt; border-bottom: none;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 700;
|
||||||
|
font-size: 22pt; color: #0f172a;
|
||||||
|
border-bottom: 3px solid #c61010; padding-bottom: 8px;
|
||||||
|
margin-top: 36px; page-break-before: always;
|
||||||
|
}
|
||||||
|
h1:first-of-type { page-break-before: avoid; }
|
||||||
|
h2 {
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 700;
|
||||||
|
font-size: 16pt; color: #0f172a;
|
||||||
|
margin-top: 28px; border-bottom: 1px solid #e2e8f0; padding-bottom: 6px;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
font-family: 'Montserrat', sans-serif; font-weight: 600;
|
||||||
|
font-size: 13pt; color: #475569; margin-top: 18px;
|
||||||
|
}
|
||||||
|
p { margin: 6px 0; }
|
||||||
|
strong { color: #0f172a; }
|
||||||
|
figure {
|
||||||
|
margin: 14px 0; page-break-inside: avoid;
|
||||||
|
background: #141923; border-radius: 10px; padding: 8px; border: 1px solid #2a3346;
|
||||||
|
}
|
||||||
|
figure img { width: 100%; max-height: 460px; object-fit: contain; border-radius: 6px; }
|
||||||
|
figcaption { font-size: 8.5pt; color: #94a3b8; text-align: center; margin-top: 6px; font-style: italic; }
|
||||||
|
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 10pt; }
|
||||||
|
th {
|
||||||
|
background: #f1f5f9; color: #0f172a; font-weight: 600;
|
||||||
|
text-align: left; padding: 7px 10px; border-bottom: 2px solid #cbd5e1;
|
||||||
|
font-family: 'Montserrat', sans-serif;
|
||||||
|
}
|
||||||
|
td { padding: 5px 10px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
|
||||||
|
ul { padding-left: 20px; } li { margin: 3px 0; }
|
||||||
|
code {
|
||||||
|
font-family: 'Fira Code', monospace; font-size: 9pt;
|
||||||
|
background: #f1f5f9; padding: 1px 4px; border-radius: 3px;
|
||||||
|
}
|
||||||
|
pre {
|
||||||
|
background: #0f172a; color: #e2e8f0; padding: 12px 16px;
|
||||||
|
border-radius: 8px; font-size: 8.5pt; line-height: 1.6;
|
||||||
|
font-family: 'Fira Code', monospace;
|
||||||
|
}
|
||||||
|
pre code { background: none; padding: 0; color: inherit; }
|
||||||
|
.callout {
|
||||||
|
background: #fef2f2; border-left: 4px solid #c61010;
|
||||||
|
padding: 10px 14px; margin: 12px 0; border-radius: 0 6px 6px 0; font-size: 10pt;
|
||||||
|
}
|
||||||
|
.missing { color: #94a3b8; font-style: italic; font-size: 9pt; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="cover">
|
||||||
|
${logoB64 ? `<img class="cover-logo" src="${logoB64}" alt="BMG" />` : ''}
|
||||||
|
<h1>Media Command™</h1>
|
||||||
|
<div class="subtitle">Operator & Engineering Guide</div>
|
||||||
|
<div class="meta">
|
||||||
|
<strong>Organization:</strong> Broadcast Management Group (BMG)<br>
|
||||||
|
<strong>Version:</strong> Media Command™ v0.91<br>
|
||||||
|
<strong>Reference Data:</strong> 12,353 Indexed Broadcast Assets<br>
|
||||||
|
<strong>Date:</strong> October 2026
|
||||||
|
</div>
|
||||||
|
<div class="badge">PRODUCTION · VERIFIED WITH REAL MEDIA</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="toc">
|
||||||
|
<h2>Table of Contents</h2>
|
||||||
|
<ul>
|
||||||
|
<li class="section-header">Foundation</li>
|
||||||
|
<li>1. System Overview</li>
|
||||||
|
<li>2. Authentication & Access Control</li>
|
||||||
|
<li>3. Dashboard</li>
|
||||||
|
<li class="section-header">Live Ingest & 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 & Player</li><li>10a. AI Analysis</li><li>10b. Reframe & 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 & Downloads</li>
|
||||||
|
<li class="section-header">Administration</li>
|
||||||
|
<li>22. Users & Groups</li><li>23. API Tokens</li><li>24. Containers</li><li>25. Logs</li>
|
||||||
|
<li>26. Audit Log</li><li>27. Cluster</li><li>28. Alerts</li><li>29. Settings</li>
|
||||||
|
<li class="section-header">Plugins & Applications</li>
|
||||||
|
<li>30. Premiere Pro UXP Plugin</li><li>31. DaVinci Resolve Plugin</li>
|
||||||
|
<li>32. Media Command Transfer</li><li>33. Media Command REMI</li><li>34. Dragon-ISO</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1>1. System Overview</h1>
|
||||||
|
<p><strong>Media Command</strong> is a broadcast media asset management, live capture, and playout platform.</p>
|
||||||
|
<h3>Architecture</h3>
|
||||||
|
<pre><code>┌──────────────────────────────────────────────────────────────┐
|
||||||
|
│ 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 │
|
||||||
|
└──────────────┘ └────────────────────┘ └────────────────────┘</code></pre>
|
||||||
|
<h3>Technology Stack</h3>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Web UI:</strong> JSX components bundled by esbuild, served by nginx. HLS.js for adaptive playback, WebRTC (WHEP) for sub-second monitoring.</li>
|
||||||
|
<li><strong>API:</strong> Node.js / Express (ESM), PostgreSQL 16 with pgvector, Redis 7, BullMQ job queues.</li>
|
||||||
|
<li><strong>Workers:</strong> GPU-accelerated transcoding (NVIDIA NVENC/NVDEC) across a distributed compute fleet.</li>
|
||||||
|
<li><strong>Playout:</strong> CasparCG sidecar containers driven over AMCP, with HTML graphics overlay layers.</li>
|
||||||
|
</ul>
|
||||||
|
<h3>TAMS fMP4 Master Flows</h3>
|
||||||
|
<p>Media Command records into <strong>fragmented MP4 (CMAF)</strong> 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.</p>
|
||||||
|
|
||||||
|
<h1>2. Authentication & Access Control</h1>
|
||||||
|
${img('01-login-page.png', 'Media Command — Login')}
|
||||||
|
<h3>Authentication Methods</h3>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Local credentials:</strong> bcrypt-hashed passwords (cost 12).</li>
|
||||||
|
<li><strong>SSO via Authentik:</strong> OAuth2/OIDC brokering @broadcastmgmt.com (M365) and @bmgremi.com (Google Workspace).</li>
|
||||||
|
<li><strong>MFA:</strong> TOTP enforcement available for administrative accounts.</li>
|
||||||
|
</ul>
|
||||||
|
<p><strong>Session:</strong> <code>express-session</code> with <code>connect-pg-simple</code> store. Cookie: <code>dragonflight.sid</code>, httpOnly, 30-day lifetime.</p>
|
||||||
|
<h3>Roles</h3>
|
||||||
|
<table>
|
||||||
|
<tr><th>Role</th><th>Scope</th></tr>
|
||||||
|
<tr><td><strong>Admin</strong> (<code>platform_admin</code>)</td><td>Full cluster control, user/token provisioning, container management, storage configuration.</td></tr>
|
||||||
|
<tr><td><strong>Operator</strong></td><td>Recorder control, schedule automation, playout queue manipulation, graphics triggering.</td></tr>
|
||||||
|
<tr><td><strong>Viewer</strong></td><td>Read-only access to metadata and proxy streams. Default for new SSO users.</td></tr>
|
||||||
|
</table>
|
||||||
|
<p>Per-project and per-organization permissions provide granular access beyond the global role.</p>
|
||||||
|
|
||||||
|
<h1>3. Dashboard</h1>
|
||||||
|
${img('02-dashboard-home.png', 'Operations Dashboard — system vitals, recent activity, and quick navigation')}
|
||||||
|
<ul>
|
||||||
|
<li><strong>Asset count:</strong> total indexed assets across all projects.</li>
|
||||||
|
<li><strong>Queue status:</strong> running and failed BullMQ worker tasks.</li>
|
||||||
|
<li><strong>Recorder summary:</strong> enabled and configured capture ports.</li>
|
||||||
|
<li><strong>Recent activity:</strong> files ingested in the last 24 hours.</li>
|
||||||
|
</ul>
|
||||||
|
<p>Quick-access tiles link to Library, Recorders, Playout, Jobs, Downloads, and Settings.</p>
|
||||||
|
|
||||||
|
<h1>4. Recorders</h1>
|
||||||
|
<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>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-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><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')}
|
||||||
|
<ul>
|
||||||
|
<li>Sandboxed Chromium offscreen rendering for lower-thirds, scoreboards, and bugs.</li>
|
||||||
|
<li>DSK layer stacking over playout or recorder preview streams.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>7. Monitor Wall</h1>
|
||||||
|
${img('08-live-monitor-wall.png', 'Monitor Wall — high-density WebRTC multiviewer')}
|
||||||
|
<ul>
|
||||||
|
<li>Grid layouts: <code>Auto</code>, <code>2×2</code>, <code>3×3</code>, <code>4×4</code>, <code>6×6</code>.</li>
|
||||||
|
<li>Feed filters: Recorders, WebRTC, Playout Channels.</li>
|
||||||
|
<li>WHEP/WebRTC with sub-second latency.</li>
|
||||||
|
<li>Multi-channel audio meters on active tiles.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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 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>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>9. Library</h1>
|
||||||
|
${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')}
|
||||||
|
<ul>
|
||||||
|
<li><strong>Project switcher:</strong> dropdown to switch between assigned projects or <code>★ All Projects (Admin View)</code>.</li>
|
||||||
|
<li><strong>Search:</strong> full-text across filenames, tags, and metadata.</li>
|
||||||
|
<li><strong>Faceted filters:</strong> file type, codec, resolution, date range.</li>
|
||||||
|
<li><strong>Display modes:</strong> list view and thumbnail grid.</li>
|
||||||
|
<li><strong>Bins:</strong> hierarchical folders. Saved searches provide per-user named filter presets.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>10. Asset Detail & Player</h1>
|
||||||
|
${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')}
|
||||||
|
<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>Tabs:</strong> Files, Metadata, Transcript, AI Analysis & Faces, Versions, Comments, Review.</li>
|
||||||
|
<li><strong>Actions:</strong> Review, Edit, Share, Pull Hi-Res, Reframe & Social, Clip. <em>Reframe & 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 & Editorial</h3>
|
||||||
|
${img('42-ai-editorial.png', 'Story & Editorial — summary, chapters, soundbites, topics')}
|
||||||
|
<p>Executive summary, chapters, key soundbites & quotes, topics & entities and Q&A in one brief.</p>
|
||||||
|
<h3>Clips & 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 & 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 & 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 (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>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>
|
||||||
|
${img('12-media-youtube.png', 'YouTube — paste a URL to archive video or live stream')}
|
||||||
|
<p>Paste any YouTube video or live stream URL for background download into the Library.</p>
|
||||||
|
|
||||||
|
<h1>14. Cloud Import</h1>
|
||||||
|
${img('13-media-cloud-import.png', 'Cloud Import — Google Drive, Dropbox, and S3 connectors')}
|
||||||
|
<ul>
|
||||||
|
<li><strong>Google Drive</strong> and <strong>Dropbox</strong> connectors.</li>
|
||||||
|
<li><strong>S3-compatible storage:</strong> Amazon S3, Wasabi, Backblaze B2, MinIO.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>15. Jobs</h1>
|
||||||
|
${img('14-ops-jobs.png', 'Jobs — BullMQ distributed task pipeline')}
|
||||||
|
<p>Queues cover transcoding, thumbnail/waveform generation, conform/export, and cloud sync. Per-job controls: progress, error log, retry, priority, flush.</p>
|
||||||
|
|
||||||
|
<h1>16. Staging</h1>
|
||||||
|
${img('15-ops-staging.png', 'Staging — NVMe scratch storage monitoring')}
|
||||||
|
<p>Tracks free space across cluster scratch disks and enforces retention policies.</p>
|
||||||
|
|
||||||
|
<h1>17. Playout</h1>
|
||||||
|
${img('16-ops-playout.png', 'Playout — GamesTV on air')}
|
||||||
|
<p>Master control for 24/7 channels. These screenshots show the <strong>GamesTV</strong> channel live on air.</p>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Header:</strong> channel selector, <strong>Channel</strong> (create), <strong>Overview</strong>, <strong>Schedule prep</strong>, ON AIR count and station clock.</li>
|
||||||
|
<li><strong>Readiness banner:</strong> warnings to clear before air, e.g. ad breaks that still hold the slate.</li>
|
||||||
|
<li><strong>On-air strip:</strong> timecode, current item, remaining time, next SCTE cue, and transport — Play, Pause, Next (cut to next item), Stop (channel stays on), Channel off. Pause is disabled while an ad break is on air.</li>
|
||||||
|
<li><strong>PGM monitor:</strong> live confidence picture of the channel output.</li>
|
||||||
|
<li><strong>Timeline:</strong> 24-hour strip with SCTE-104 cue, graphics and audio tracks.</li>
|
||||||
|
<li><strong>Media Bin:</strong> Clips, Breaks and Live inputs. <strong>Convert</strong> renders a new TAMS flow in the channel's format.</li>
|
||||||
|
<li><strong>Rundown:</strong> start, duration, time-of-day start/end, type and state (On Air, Next, Scheduled).</li>
|
||||||
|
</ul>
|
||||||
|
<p><strong>Caution:</strong> on a live channel, Next, Stop and Channel off affect air immediately.</p>
|
||||||
|
<h2>Live inputs</h2>
|
||||||
|
${img('16b-playout-live-inputs.png', 'Playout — Live SDI inputs')}
|
||||||
|
<p>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.</p>
|
||||||
|
<h2>Overview</h2>
|
||||||
|
${img('16d-playout-overview.png', 'Playout — Multi-channel overview')}
|
||||||
|
<p>One card per channel with live program thumbnail, ON AIR state and output format.</p>
|
||||||
|
<h2>As-Run log</h2>
|
||||||
|
${img('16e-playout-asrun.png', 'Playout — As-Run log')}
|
||||||
|
<p>What actually went to air: time, clip, duration, result. Export as CSV or BXF for traffic reconciliation.</p>
|
||||||
|
<h2>Staging</h2>
|
||||||
|
${img('16g-playout-staging.png', 'Playout — Staging playlist (not on air)')}
|
||||||
|
<p><strong>Staging</strong> 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, <em>Staging — Tomorrow</em>, built from GamesTV content.</p>
|
||||||
|
<ul>
|
||||||
|
<li>Pick an existing staged playlist or create a new one.</li>
|
||||||
|
<li>Fill it by dragging clips from the Media Bin, <strong>Search</strong>, <strong>Import CSV</strong>, or <strong>Paste list</strong>.</li>
|
||||||
|
<li><strong>Export CSV</strong> to share; <strong>Load onto channel</strong> puts it on air when ready.</li>
|
||||||
|
</ul>
|
||||||
|
<h2>Schedule prep</h2>
|
||||||
|
${img('16f-playout-schedule-prep.png', 'Playout — Schedule prep')}
|
||||||
|
<p>Offline drafting: pick a draft or create one with <strong>+ New day</strong>, then publish it to the channel.</p>
|
||||||
|
|
||||||
|
<h1>18. Clip Server</h1>
|
||||||
|
${img('17-ops-clip-server.png', 'Clip Server — instant-access cart for live replay')}
|
||||||
|
<p>Pre-loaded frames in shared memory (<code>/dev/shm</code>) for frame-accurate playback.</p>
|
||||||
|
|
||||||
|
<h1>19. Editor</h1>
|
||||||
|
${img('18-ops-editor.png', 'Editor — browser-based NLE (/editor.html)')}
|
||||||
|
<ul>
|
||||||
|
<li>Multi-track timeline (V1, V2, A1–A5).</li>
|
||||||
|
<li>In/out trimming on TAMS master flows.</li>
|
||||||
|
<li>Export to Library with codec presets and crop-to-fill options.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>20. Engineering</h1>
|
||||||
|
${img('19-ops-engineering.png', 'Engineering — capture card, GPU, and network diagnostics')}
|
||||||
|
<p>Broadcast engineering diagnostics: capture card status, GPU acceleration metrics, and network interface statistics.</p>
|
||||||
|
|
||||||
|
<h1>21. Applications & Downloads</h1>
|
||||||
|
${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')}
|
||||||
|
<table>
|
||||||
|
<tr><th>Application</th><th>Platform</th><th>Installer</th></tr>
|
||||||
|
<tr><td>Premiere Pro UXP Plugin</td><td>macOS / Windows</td><td><code>dragonflight-mam-2.27.6.ccx</code></td></tr>
|
||||||
|
<tr><td>DaVinci Resolve Plugin</td><td>macOS / Windows</td><td><code>dragonflight-resolve-0.1.2.zip</code></td></tr>
|
||||||
|
<tr><td>Media Command Transfer</td><td>macOS / Windows</td><td><code>Media-Command-Transfer-0.2.1</code></td></tr>
|
||||||
|
<tr><td>Media Command REMI</td><td>macOS / Windows</td><td><code>Media-Command-REMI-0.3.3</code></td></tr>
|
||||||
|
<tr><td>Dragon-ISO</td><td>Windows</td><td><code>Dragon-ISO-Setup-1.1.0.msi</code></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<h1>22. Users & Groups</h1>
|
||||||
|
${img('21-admin-users-groups.png', 'Users & Groups — provisioning and role assignment')}
|
||||||
|
<p>User provisioning, group management, and role assignment with per-project access boundaries.</p>
|
||||||
|
|
||||||
|
<h1>23. API Tokens</h1>
|
||||||
|
${img('22-admin-api-tokens.png', 'API Tokens — scoped automation keys')}
|
||||||
|
<p>Scoped API keys for automation pipelines. Supports expiration and instant revocation.</p>
|
||||||
|
|
||||||
|
<h1>24. Containers</h1>
|
||||||
|
${img('23-admin-containers.png', 'Containers — Docker fleet status')}
|
||||||
|
<p>Docker container fleet status across all cluster nodes with resource metrics and lifecycle controls.</p>
|
||||||
|
|
||||||
|
<h1>25. Logs</h1>
|
||||||
|
${img('24-admin-logs.png', 'Logs — centralized aggregation with severity filtering')}
|
||||||
|
<p>Centralized log aggregation from all nodes with severity filtering and regex search.</p>
|
||||||
|
|
||||||
|
<h1>26. Audit Log</h1>
|
||||||
|
${img('25-admin-audit-log.png', 'Audit Log — immutable action history')}
|
||||||
|
<p>Immutable record of all user actions. Captures user ID, IP, timestamp, and state changes.</p>
|
||||||
|
|
||||||
|
<h1>27. Cluster</h1>
|
||||||
|
${img('26-admin-cluster.png', 'Cluster — multi-node topology and heartbeat monitoring')}
|
||||||
|
<p>Cluster topology visualizer with heartbeat and connectivity monitoring.</p>
|
||||||
|
|
||||||
|
<h1>28. Alerts</h1>
|
||||||
|
${img('27-admin-alerts.png', 'Alerts — operational incident monitoring')}
|
||||||
|
<p>Active alerts (storage thresholds, signal loss, worker heartbeat drops). Webhook notifications to Discord, Slack, or email.</p>
|
||||||
|
|
||||||
|
<h1>29. Settings</h1>
|
||||||
|
${img('28-admin-settings.png', 'Settings — storage, encoders, and playout configuration')}
|
||||||
|
${img('28-settings-tab-storage.png', 'Settings — Storage tab')}
|
||||||
|
<p>Central configuration for storage paths, S3 endpoints, transcoder profiles, and playout channel topologies.</p>
|
||||||
|
|
||||||
|
<h1>30. Adobe Premiere Pro UXP Plugin</h1>
|
||||||
|
<p><strong>Package:</strong> <code>dragonflight-mam-2.27.6.ccx</code> · <strong>Requires:</strong> Premiere Pro 2026 (v26+)</p>
|
||||||
|
<h3>Installation</h3>
|
||||||
|
<ol>
|
||||||
|
<li>Download the <code>.ccx</code> from the Downloads menu.</li>
|
||||||
|
<li>Double-click to install via Creative Cloud, or use the UXP Developer Tool.</li>
|
||||||
|
<li>In Premiere: <strong>Window → Extensions → Media Command™</strong>.</li>
|
||||||
|
</ol>
|
||||||
|
<h3>Capabilities</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Browse the MAM library, search assets, import proxy or hi-res renditions.</li>
|
||||||
|
<li>Mount live growing TAMS capture streams for edit-while-record.</li>
|
||||||
|
<li>Relink proxy edits to full-resolution masters.</li>
|
||||||
|
<li>Export sequences directly to MAM project bins.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>31. DaVinci Resolve Studio Plugin</h1>
|
||||||
|
<p><strong>Package:</strong> <code>dragonflight-resolve-0.1.2.zip</code> · <strong>Requires:</strong> Resolve Studio 18.5+</p>
|
||||||
|
<h3>Installation</h3>
|
||||||
|
<ol>
|
||||||
|
<li>Download and extract to the Workflow Integration Plugins directory.</li>
|
||||||
|
<li>In Resolve Studio: <strong>Workspace → Workflow Integrations → Media Command™ MAM</strong>.</li>
|
||||||
|
</ol>
|
||||||
|
<h3>Capabilities</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Browse and search the MAM catalog.</li>
|
||||||
|
<li>Import assets directly into the Resolve Media Pool.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>32. Media Command Transfer</h1>
|
||||||
|
<table>
|
||||||
|
<tr><th>Platform</th><th>File</th></tr>
|
||||||
|
<tr><td>macOS Apple Silicon</td><td><code>Media-Command-Transfer-0.2.1-mac-arm64.zip</code></td></tr>
|
||||||
|
<tr><td>macOS Intel</td><td><code>Media-Command-Transfer-0.2.1-mac-x64.zip</code></td></tr>
|
||||||
|
<tr><td>Windows x64</td><td><code>Media-Command-Transfer-0.2.1-win-x64.exe</code></td></tr>
|
||||||
|
</table>
|
||||||
|
<p>High-speed desktop uploader with watch folder automation, drag-and-drop upload, and <code>mediacommand://</code> deep-link protocol for browser-initiated downloads. Builds are unsigned.</p>
|
||||||
|
|
||||||
|
<h1>33. Media Command REMI</h1>
|
||||||
|
<table>
|
||||||
|
<tr><th>Platform</th><th>File</th></tr>
|
||||||
|
<tr><td>macOS Apple Silicon</td><td><code>Media-Command-REMI-0.3.3-mac-arm64.zip</code></td></tr>
|
||||||
|
<tr><td>macOS Intel</td><td><code>Media-Command-REMI-0.3.3-mac-x64.zip</code></td></tr>
|
||||||
|
<tr><td>Windows x64</td><td><code>Media-Command-REMI-0.3.3-win-x64.exe</code></td></tr>
|
||||||
|
</table>
|
||||||
|
<ul>
|
||||||
|
<li>Up to 8 tiles per window with configurable grid layouts.</li>
|
||||||
|
<li>Proxy / QC mode toggle for full-quality NVENC streams.</li>
|
||||||
|
<li>Audio metering with channel pair selection, solo, and mute.</li>
|
||||||
|
<li>Broadcast OSD overlays (tally, timecode, safe area, crosshairs).</li>
|
||||||
|
<li>Multi-window, multi-display support.</li>
|
||||||
|
<li>HTTP REST API and WebSocket for Bitfocus Companion / Stream Deck.</li>
|
||||||
|
<li>Builds are unsigned.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>34. Dragon-ISO</h1>
|
||||||
|
<p><strong>Package:</strong> <code>Dragon-ISO-Setup-1.1.0.msi</code> · <strong>Platform:</strong> Windows 10/11</p>
|
||||||
|
<p>Microsoft Teams NDI ISO controller. Extracts individual participant streams, normalizes to broadcast standards, and re-emits as clean NDI sources with optional disk recording.</p>
|
||||||
|
<ul>
|
||||||
|
<li>REST & WebSocket on <code>127.0.0.1:9755</code>.</li>
|
||||||
|
<li>OSC server on UDP <code>127.0.0.1:9000</code> for Companion and TouchOSC.</li>
|
||||||
|
<li>Mobile web controller at <code>http://localhost:9755/ui</code>.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1>35. Safety & Runbooks</h1>
|
||||||
|
<div class="callout">
|
||||||
|
<strong>Media Deletion Protocol:</strong> Deleting an asset moves it to the project's Recycle Bin. Permanent purge requires admin credentials and confirmation dialogs.
|
||||||
|
</div>
|
||||||
|
<h3>Live Growing File Editing</h3>
|
||||||
|
<ol>
|
||||||
|
<li>In <strong>Recorders</strong>, select the target port and set codec to H.264 intra or HEVC intra.</li>
|
||||||
|
<li>Click <strong>Create Recording</strong>.</li>
|
||||||
|
<li>In the <strong>Premiere Pro plugin</strong>, locate the active recording (red <code>LIVE</code> badge) and click <strong>Mount Growing File</strong>.</li>
|
||||||
|
<li>Edit immediately — new segments are recognized dynamically.</li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
<p style="text-align:center; color:#94a3b8; margin-top:40px; font-size:8.5pt; font-family:'Montserrat',sans-serif;">
|
||||||
|
Broadcast Management Group — Media Command · October 2026
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>`;
|
||||||
|
|
||||||
|
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: '<span></span>',
|
||||||
|
footerTemplate: '<div style="font-size:7.5pt; width:100%; padding:0 16mm; display:flex; justify-content:space-between; color:#475569; font-family:Montserrat,sans-serif;"><span>Broadcast Management Group — Media Command</span><span>Page <span class="pageNumber"></span> of <span class="totalPages"></span></span></div>'
|
||||||
|
});
|
||||||
|
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();
|
||||||
|
})();
|
||||||
736
guide.html
Normal file
53
inspect-library.js
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
const browser = await chromium.launch({ headless: true });
|
||||||
|
const context = await browser.newContext({ viewport: { width: 1920, height: 1080 } });
|
||||||
|
await context.addCookies([{
|
||||||
|
name: 'dragonflight.sid',
|
||||||
|
value: process.env.DF_SESSION_COOKIE,
|
||||||
|
domain: 'mediacmdr.com',
|
||||||
|
path: '/',
|
||||||
|
httpOnly: true,
|
||||||
|
secure: true
|
||||||
|
}]);
|
||||||
|
const page = await context.newPage();
|
||||||
|
await page.goto('https://mediacmdr.com/', { waitUntil: 'networkidle' });
|
||||||
|
|
||||||
|
// Navigate to Library
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const items = Array.from(document.querySelectorAll('.nav-item'));
|
||||||
|
const target = items.find(i => i.innerText.trim().startsWith('Library'));
|
||||||
|
if (target) target.click();
|
||||||
|
});
|
||||||
|
await page.waitForTimeout(4000);
|
||||||
|
|
||||||
|
// Check what's rendered in Library
|
||||||
|
const info = await page.evaluate(() => {
|
||||||
|
return {
|
||||||
|
text: document.body.innerText.slice(0, 1500),
|
||||||
|
buttons: Array.from(document.querySelectorAll('button')).map(b => b.innerText.trim()).filter(Boolean),
|
||||||
|
cards: Array.from(document.querySelectorAll('.card, .asset-card, .grid-item, tr')).map(c => c.innerText.slice(0, 100)),
|
||||||
|
projectSelector: document.querySelector('select')?.outerHTML
|
||||||
|
};
|
||||||
|
});
|
||||||
|
console.log('Library inspection:', JSON.stringify(info, null, 2));
|
||||||
|
|
||||||
|
// Check Applications page
|
||||||
|
await page.evaluate(() => {
|
||||||
|
const items = Array.from(document.querySelectorAll('.nav-item'));
|
||||||
|
const target = items.find(i => i.innerText.trim().startsWith('Applications'));
|
||||||
|
if (target) target.click();
|
||||||
|
});
|
||||||
|
await page.waitForTimeout(3000);
|
||||||
|
const appsInfo = await page.evaluate(() => {
|
||||||
|
return {
|
||||||
|
text: document.body.innerText.slice(0, 2000),
|
||||||
|
links: Array.from(document.querySelectorAll('a, button')).map(el => ({ text: el.innerText.trim(), href: el.getAttribute('href'), onclick: el.getAttribute('onclick') })).filter(e => e.text)
|
||||||
|
};
|
||||||
|
});
|
||||||
|
console.log('\nApplications inspection:', JSON.stringify(appsInfo, null, 2));
|
||||||
|
|
||||||
|
await browser.close();
|
||||||
|
})();
|
||||||
10
page-text.js
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
const { chromium } = require('playwright');const fs=require('fs');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const R=['home','recorders','schedule','graphics','multiview','projects','library?project=5ebf74aa-f5b4-4a83-b089-c9af2cb25d1f','upload','contribution','youtube','cloud-import','jobs','staging','playout','playout-tria','engineering','applications','users','tokens','containers','logs','audit','cluster','alerts','settings','rundown','playout-schedule','playout-ads'];
|
||||||
|
(async()=>{const b=await chromium.launch({args:['--no-sandbox']});const c=await b.newContext({viewport:{width:1920,height:1080}});
|
||||||
|
await c.addCookies([{name:'dragonflight.sid',value:process.env.DF_SESSION_COOKIE,domain:'mediacmdr.com',path:'/',httpOnly:true,secure:true}]);
|
||||||
|
const p=await c.newPage();await p.goto('https://mediacmdr.com/',{waitUntil:'networkidle'});const out={};
|
||||||
|
for(const r of R){await p.evaluate(h=>{location.hash=h},r);await p.waitForTimeout(4000);
|
||||||
|
out[r]=await p.evaluate(()=>{const m=document.querySelector('main,[class*=content],[class*=page]')||document.body;return m.innerText.replace(/\n{2,}/g,'\n').slice(0,1400)});}
|
||||||
|
await p.goto('https://mediacmdr.com/editor.html',{waitUntil:'networkidle'});await p.waitForTimeout(4000);out.editor=await p.evaluate(()=>document.body.innerText.slice(0,1000));
|
||||||
|
fs.writeFileSync('page-text.json',JSON.stringify(out,null,1));await b.close()})();
|
||||||
62
recapture-asset.js
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const OUT = '/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
const BMG = '5ebf74aa-f5b4-4a83-b089-c9af2cb25d1f';
|
||||||
|
const pause = p => p.evaluate(() => document.querySelectorAll('video').forEach(v => { try { v.pause() } catch (e) {} }));
|
||||||
|
const clickText = (p, src) => p.evaluate(src => {
|
||||||
|
const re = new RegExp(src, 'i');
|
||||||
|
const e = [...document.querySelectorAll('button,[role=tab],a,li,span,div')]
|
||||||
|
.filter(x => x.offsetHeight > 0 && x.children.length < 4).find(x => re.test((x.innerText || '').trim()));
|
||||||
|
if (e) { e.click(); return (e.innerText || '').slice(0, 50); } return null;
|
||||||
|
}, src);
|
||||||
|
|
||||||
|
(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: process.env.DF_SESSION_COOKIE, domain: 'mediacmdr.com', path: '/', httpOnly: true, secure: true }]);
|
||||||
|
const p = await c.newPage();
|
||||||
|
await p.goto(`https://mediacmdr.com/#library?project=${BMG}`, { waitUntil: 'networkidle' });
|
||||||
|
await p.waitForTimeout(6000);
|
||||||
|
// scroll the grid into view to show real thumbnails
|
||||||
|
await p.evaluate(() => { const m = document.querySelector('main') || document.scrollingElement; m.scrollBy(0, 350); });
|
||||||
|
await p.waitForTimeout(2500);
|
||||||
|
await p.screenshot({ path: `${OUT}/09a-library-grid-thumbnails.png` });
|
||||||
|
// find asset cards with images and a filename
|
||||||
|
const cards = await p.evaluate(() => [...document.querySelectorAll('[class*=card],[class*=tile],[class*=asset],tr')]
|
||||||
|
.filter(e => e.querySelector('img,video') && e.offsetHeight > 60 && e.offsetHeight < 500)
|
||||||
|
.slice(0, 8).map(e => (e.innerText || '').replace(/\s+/g, ' ').slice(0, 70)));
|
||||||
|
console.log('cards:', JSON.stringify(cards));
|
||||||
|
// Prefer a clip (has duration like 0:49 or 00:00)
|
||||||
|
const opened = await p.evaluate(() => {
|
||||||
|
const el = [...document.querySelectorAll('[class*=card],[class*=tile],[class*=asset],tr')]
|
||||||
|
.filter(e => e.querySelector('img,video') && e.offsetHeight > 60 && e.offsetHeight < 500)
|
||||||
|
.find(e => /\d+:\d\d/.test(e.innerText || '') && !/items?\b/i.test(e.innerText || ''));
|
||||||
|
if (!el) return null;
|
||||||
|
const t = el.querySelector('img') || el;
|
||||||
|
t.click(); t.dispatchEvent(new MouseEvent('dblclick', { bubbles: true }));
|
||||||
|
return el.innerText.replace(/\s+/g, ' ').slice(0, 70);
|
||||||
|
});
|
||||||
|
console.log('opened:', opened, 'hash:', await p.evaluate(() => location.hash));
|
||||||
|
await p.waitForTimeout(7000);
|
||||||
|
await p.evaluate(async () => {
|
||||||
|
const v = document.querySelector('video'); if (!v) return 'novideo';
|
||||||
|
v.muted = true; try { await v.play() } catch (e) {}
|
||||||
|
await new Promise(r => setTimeout(r, 6000));
|
||||||
|
try { v.currentTime = Math.min(15, (v.duration || 30) / 3) } catch (e) {}
|
||||||
|
await new Promise(r => setTimeout(r, 3000)); v.pause();
|
||||||
|
});
|
||||||
|
await p.screenshot({ path: `${OUT}/09b-media-library-asset-inspector.png` });
|
||||||
|
for (const t of ['Metadata', 'Transcript', 'AI Analysis', 'Versions', 'Comments']) {
|
||||||
|
const ok = await clickText(p, '^' + t);
|
||||||
|
if (ok) { await p.waitForTimeout(3000); await pause(p); await p.screenshot({ path: `${OUT}/09c-asset-${t.split(' ')[0].toLowerCase()}.png` }); console.log('tab', t); }
|
||||||
|
}
|
||||||
|
// Downloads modal: Desktop apps tab
|
||||||
|
await p.goto('https://mediacmdr.com/#home', { waitUntil: 'networkidle' }); await p.waitForTimeout(3500);
|
||||||
|
console.log('dl:', await clickText(p, '^Downloads'));
|
||||||
|
await p.waitForTimeout(2500);
|
||||||
|
await p.screenshot({ path: `${OUT}/20b-downloads-modal.png` });
|
||||||
|
console.log('desktop tab:', await clickText(p, '^Desktop apps'));
|
||||||
|
await p.waitForTimeout(2500);
|
||||||
|
await p.screenshot({ path: `${OUT}/20c-downloads-desktop-apps.png` });
|
||||||
|
await b.close();
|
||||||
|
})();
|
||||||
82
recapture.js
Normal file
|
|
@ -0,0 +1,82 @@
|
||||||
|
const { chromium } = require('playwright');
|
||||||
|
if (!process.env.DF_SESSION_COOKIE) { console.error('DF_SESSION_COOKIE env var not set — grab the dragonflight.sid cookie value from your browser devtools, export it, rerun.'); process.exit(1); }
|
||||||
|
const fs = require('fs');
|
||||||
|
const OUT = '/home/zgaetano/media-command-guide/screenshots';
|
||||||
|
const BMG = '5ebf74aa-f5b4-4a83-b089-c9af2cb25d1f';
|
||||||
|
const routes = [
|
||||||
|
['02-dashboard-home', 'home'], ['05-live-recorders', 'recorders'], ['06-live-schedule', 'schedule'],
|
||||||
|
['07-live-graphics', 'graphics'], ['08-live-monitor-wall', 'multiview'], ['03-projects', 'projects'],
|
||||||
|
['09-media-library-bmg', `library?project=${BMG}`], ['10-media-upload', 'upload'], ['11-media-contribution', 'contribution'],
|
||||||
|
['12-media-youtube', 'youtube'], ['13-media-cloud-import', 'cloud-import'], ['14-ops-jobs', 'jobs'],
|
||||||
|
['15-ops-staging', 'staging'], ['16-ops-playout', 'playout'], ['17-ops-clip-server', 'playout-tria'],
|
||||||
|
['19-ops-engineering', 'engineering'], ['20-ops-applications', 'applications'],
|
||||||
|
['21-admin-users-groups', 'users'], ['22-admin-api-tokens', 'tokens'], ['23-admin-containers', 'containers'],
|
||||||
|
['24-admin-logs', 'logs'], ['25-admin-audit-log', 'audit'], ['26-admin-cluster', 'cluster'],
|
||||||
|
['27-admin-alerts', 'alerts'], ['28-admin-settings', 'settings'],
|
||||||
|
['29-playout-rundown', 'rundown'], ['30-playout-schedule', 'playout-schedule'], ['31-playout-ads', 'playout-ads'],
|
||||||
|
];
|
||||||
|
const pause = p => p.evaluate(() => document.querySelectorAll('video').forEach(v => { try { v.pause() } catch (e) {} }));
|
||||||
|
const clickText = (p, re) => p.evaluate(src => {
|
||||||
|
const re = new RegExp(src, 'i');
|
||||||
|
const e = [...document.querySelectorAll('button,[role=tab],a,[class*=card],[class*=tile],li,div')]
|
||||||
|
.filter(x => x.offsetHeight > 0 && x.children.length < 6).find(x => re.test((x.innerText || '').trim()));
|
||||||
|
if (e) { e.click(); return (e.innerText || '').slice(0, 50); } return null;
|
||||||
|
}, re.source);
|
||||||
|
|
||||||
|
(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: process.env.DF_SESSION_COOKIE, domain: 'mediacmdr.com', path: '/', httpOnly: true, secure: true }]);
|
||||||
|
const p = await c.newPage();
|
||||||
|
await p.goto('https://mediacmdr.com/', { waitUntil: 'networkidle' });
|
||||||
|
const log = {};
|
||||||
|
for (const [name, r] of routes) {
|
||||||
|
await p.evaluate(h => { location.hash = h }, r);
|
||||||
|
await p.waitForTimeout(4500);
|
||||||
|
await pause(p);
|
||||||
|
await p.screenshot({ path: `${OUT}/${name}.png` });
|
||||||
|
log[name] = await p.evaluate(() => {
|
||||||
|
const h = [...document.querySelectorAll('h1,h2,[class*=crumb]')].map(e => e.innerText).filter(Boolean).slice(0, 2).join(' / ');
|
||||||
|
return h.replace(/\s+/g, ' ').slice(0, 90) + ' | ' + location.hash;
|
||||||
|
});
|
||||||
|
console.log(name, '=>', log[name]);
|
||||||
|
}
|
||||||
|
// Projects -> open BMG project card
|
||||||
|
await p.evaluate(() => { location.hash = 'projects' }); await p.waitForTimeout(4000);
|
||||||
|
console.log('bmg card:', await clickText(p, /^Broadcast Managment Group/));
|
||||||
|
await p.waitForTimeout(5000); await pause(p);
|
||||||
|
await p.screenshot({ path: `${OUT}/04-project-bmg-overview.png` });
|
||||||
|
|
||||||
|
// BMG library -> asset detail
|
||||||
|
await p.evaluate(h => { location.hash = h }, `library?project=${BMG}`); await p.waitForTimeout(6000);
|
||||||
|
const hit = await p.evaluate(() => {
|
||||||
|
const el = [...document.querySelectorAll('tr,[class*=card],[class*=tile],[class*=asset],[class*=row]')]
|
||||||
|
.find(e => /Sizzle|\.(mp4|mov|mxf)/i.test(e.innerText || '') && e.offsetHeight > 30 && e.offsetHeight < 400);
|
||||||
|
if (el) { el.click(); el.dispatchEvent(new MouseEvent('dblclick', { bubbles: true })); return el.innerText.slice(0, 60) } return null;
|
||||||
|
});
|
||||||
|
console.log('asset:', hit); await p.waitForTimeout(7000);
|
||||||
|
await p.evaluate(async () => {
|
||||||
|
const v = document.querySelector('video'); if (!v) return;
|
||||||
|
v.muted = true; try { await v.play() } catch (e) {}
|
||||||
|
await new Promise(r => setTimeout(r, 5000));
|
||||||
|
v.currentTime = Math.min(15, (v.duration || 30) / 3);
|
||||||
|
await new Promise(r => setTimeout(r, 3000)); v.pause();
|
||||||
|
});
|
||||||
|
await p.screenshot({ path: `${OUT}/09b-media-library-asset-inspector.png` });
|
||||||
|
for (const t of ['Metadata', 'Transcript', 'AI Analysis', 'Versions', 'Comments']) {
|
||||||
|
const ok = await clickText(p, new RegExp('^' + t));
|
||||||
|
if (ok) { await p.waitForTimeout(3000); await pause(p); await p.screenshot({ path: `${OUT}/09c-asset-${t.split(' ')[0].toLowerCase()}.png` }); console.log('tab', t); }
|
||||||
|
}
|
||||||
|
// Editor standalone
|
||||||
|
await p.goto('https://mediacmdr.com/editor.html', { waitUntil: 'networkidle' }).catch(() => {});
|
||||||
|
await p.waitForTimeout(5000); await pause(p);
|
||||||
|
await p.screenshot({ path: `${OUT}/18-ops-editor.png` });
|
||||||
|
console.log('editor title:', await p.title());
|
||||||
|
// Downloads modal
|
||||||
|
await p.goto('https://mediacmdr.com/#home', { waitUntil: 'networkidle' }); await p.waitForTimeout(3500);
|
||||||
|
console.log('downloads:', await clickText(p, /^Downloads/));
|
||||||
|
await p.waitForTimeout(3000);
|
||||||
|
await p.screenshot({ path: `${OUT}/20b-downloads-modal.png` });
|
||||||
|
fs.writeFileSync('/home/zgaetano/media-command-guide/capture-log.json', JSON.stringify(log, null, 1));
|
||||||
|
await b.close();
|
||||||
|
})();
|
||||||
BIN
screenshots/01-login-page.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
screenshots/02-dashboard-home.png
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
screenshots/03-projects.png
Normal file
|
After Width: | Height: | Size: 633 KiB |
BIN
screenshots/04-project-bmg-overview.png
Normal file
|
After Width: | Height: | Size: 861 KiB |
BIN
screenshots/05-live-recorders.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
screenshots/05-recorders-cards.png
Normal file
|
After Width: | Height: | Size: 506 KiB |
BIN
screenshots/05-recorders-dense.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
screenshots/05b-recorder-detail.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
screenshots/05b-recorder-port-detail.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
screenshots/05b-recorders-previews.png
Normal file
|
After Width: | Height: | Size: 497 KiB |
BIN
screenshots/05c-create-recording-dialog.png
Normal file
|
After Width: | Height: | Size: 173 KiB |
BIN
screenshots/05d-recorder-configure.png
Normal file
|
After Width: | Height: | Size: 340 KiB |
BIN
screenshots/05e-recorder-configure-codec.png
Normal file
|
After Width: | Height: | Size: 341 KiB |
BIN
screenshots/06-live-schedule.png
Normal file
|
After Width: | Height: | Size: 170 KiB |
BIN
screenshots/06-schedule-day.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
BIN
screenshots/06-schedule-list.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
screenshots/06-schedule-week.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
screenshots/06b-schedule-new-event.png
Normal file
|
After Width: | Height: | Size: 192 KiB |
BIN
screenshots/06b-schedule-new.png
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
screenshots/06c-schedule-list.png
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
screenshots/06c-schedule-week.png
Normal file
|
After Width: | Height: | Size: 148 KiB |
BIN
screenshots/06d-schedule-record-now.png
Normal file
|
After Width: | Height: | Size: 196 KiB |
BIN
screenshots/06e-schedule-context-menu.png
Normal file
|
After Width: | Height: | Size: 168 KiB |
BIN
screenshots/06f-schedule-inspector.png
Normal file
|
After Width: | Height: | Size: 166 KiB |
BIN
screenshots/07-live-graphics.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
screenshots/08-live-monitor-wall.png
Normal file
|
After Width: | Height: | Size: 743 KiB |
BIN
screenshots/09-media-library-bmg.png
Normal file
|
After Width: | Height: | Size: 820 KiB |
BIN
screenshots/09a-library-grid-thumbnails.png
Normal file
|
After Width: | Height: | Size: 862 KiB |
BIN
screenshots/09b-media-library-asset-inspector.png
Normal file
|
After Width: | Height: | Size: 605 KiB |
BIN
screenshots/09c-asset-ai.png
Normal file
|
After Width: | Height: | Size: 582 KiB |
BIN
screenshots/09c-asset-comments.png
Normal file
|
After Width: | Height: | Size: 557 KiB |
BIN
screenshots/09c-asset-metadata.png
Normal file
|
After Width: | Height: | Size: 559 KiB |
BIN
screenshots/09c-asset-transcript.png
Normal file
|
After Width: | Height: | Size: 555 KiB |
BIN
screenshots/09c-asset-versions.png
Normal file
|
After Width: | Height: | Size: 545 KiB |
BIN
screenshots/10-media-upload.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
screenshots/11-contribution.png
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
screenshots/11-media-contribution.png
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
screenshots/11b-contribution-create-link.png
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
screenshots/11c-contribution-specs.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
screenshots/11d-contribution-received.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
screenshots/12-media-youtube.png
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
screenshots/13-media-cloud-import.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
screenshots/14-ops-jobs.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
screenshots/15-ops-staging.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
screenshots/16-ops-playout.png
Normal file
|
After Width: | Height: | Size: 304 KiB |
BIN
screenshots/16a-playout-full.png
Normal file
|
After Width: | Height: | Size: 303 KiB |
BIN
screenshots/16b-playout-live-inputs.png
Normal file
|
After Width: | Height: | Size: 282 KiB |
BIN
screenshots/16c-playout-breaks.png
Normal file
|
After Width: | Height: | Size: 260 KiB |
BIN
screenshots/16d-playout-overview.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
screenshots/16e-playout-asrun.png
Normal file
|
After Width: | Height: | Size: 306 KiB |
BIN
screenshots/16f-playout-schedule-prep.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
screenshots/16g-playout-staging.png
Normal file
|
After Width: | Height: | Size: 266 KiB |
BIN
screenshots/17-ops-clip-server.png
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
screenshots/18-ops-editor.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
screenshots/19-ops-engineering.png
Normal file
|
After Width: | Height: | Size: 177 KiB |
BIN
screenshots/20-ops-applications.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
screenshots/20b-downloads-modal.png
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
screenshots/20c-downloads-desktop-apps.png
Normal file
|
After Width: | Height: | Size: 181 KiB |
BIN
screenshots/21-admin-users-groups.png
Normal file
|
After Width: | Height: | Size: 189 KiB |
BIN
screenshots/22-admin-api-tokens.png
Normal file
|
After Width: | Height: | Size: 167 KiB |
BIN
screenshots/23-admin-containers.png
Normal file
|
After Width: | Height: | Size: 178 KiB |
BIN
screenshots/24-admin-logs.png
Normal file
|
After Width: | Height: | Size: 111 KiB |
BIN
screenshots/25-admin-audit-log.png
Normal file
|
After Width: | Height: | Size: 188 KiB |
BIN
screenshots/26-admin-cluster.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
BIN
screenshots/27-admin-alerts.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
screenshots/28-admin-settings.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
screenshots/28-settings-tab-storage.png
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
screenshots/29-playout-rundown.png
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
screenshots/30-playout-schedule.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
screenshots/31-playout-ads.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
screenshots/40-ai-analysis.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
screenshots/41-reframe.png
Normal file
|
After Width: | Height: | Size: 346 KiB |
BIN
screenshots/41b-reframe-full.png
Normal file
|
After Width: | Height: | Size: 346 KiB |
BIN
screenshots/42-ai-analysis-overview.png
Normal file
|
After Width: | Height: | Size: 185 KiB |
BIN
screenshots/42-ai-ask.png
Normal file
|
After Width: | Height: | Size: 182 KiB |
BIN
screenshots/42-ai-clips.png
Normal file
|
After Width: | Height: | Size: 185 KiB |
BIN
screenshots/42-ai-editorial.png
Normal file
|
After Width: | Height: | Size: 185 KiB |
BIN
screenshots/42-ai-faces.png
Normal file
|
After Width: | Height: | Size: 124 KiB |