2026-10-02 00:47:49 -04:00
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' ) ) ;
2026-10-02 07:24:38 -04:00
for ( const f of files ) { shots [ f ] = imgBase64 ( f ) ; }
2026-10-02 00:47:49 -04:00
console . log ( ` Loaded ${ Object . keys ( shots ) . length } screenshots ` ) ;
function img ( filename , caption ) {
2026-10-02 07:24:38 -04:00
if ( ! shots [ filename ] ) return ` <p class="missing">Screenshot: ${ filename } (not available)</p> ` ;
2026-10-02 00:47:49 -04:00
return ` <figure>
< img src = "${shots[filename]}" alt = "${caption}" / >
< figcaption > $ { caption } < / f i g c a p t i o n >
< / f i g u r e > ` ;
}
2026-10-02 07:24:38 -04:00
// 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' ) } ` : '' ;
2026-10-02 00:47:49 -04:00
const html = ` <!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
2026-10-02 07:24:38 -04:00
< 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" >
2026-10-02 00:47:49 -04:00
< style >
2026-10-02 07:24:38 -04:00
@ page { size : letter landscape ; margin : 18 mm 16 mm 20 mm 16 mm ; }
2026-10-02 00:47:49 -04:00
* { box - sizing : border - box ; }
body {
2026-10-02 07:24:38 -04:00
font - family : 'Nunito' , 'Segoe UI' , system - ui , sans - serif ;
color : # 0 f172a ; background : # ffffff ;
line - height : 1.6 ; font - size : 11 pt ; margin : 0 ; padding : 0 ;
2026-10-02 00:47:49 -04:00
}
. cover {
2026-10-02 07:24:38 -04:00
page - break - after : always ; height : 100 vh ;
display : flex ; flex - direction : column ; justify - content : center ; align - items : center ;
2026-10-02 00:47:49 -04:00
text - align : center ;
2026-10-02 07:24:38 -04:00
background : linear - gradient ( 155 deg , # 0 a0d14 0 % , # 141923 40 % , # 0 a0d14 100 % ) ;
color : # e2e8f0 ; padding : 60 px ;
margin : - 18 mm - 16 mm ; width : calc ( 100 % + 32 mm ) ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
. cover - logo { width : 120 px ; height : auto ; margin - bottom : 32 px ; opacity : 0.9 ; }
2026-10-02 00:47:49 -04:00
. cover h1 {
2026-10-02 07:24:38 -04:00
font - family : 'Montserrat' , sans - serif ; font - weight : 800 ;
font - size : 44 pt ; letter - spacing : - 1.5 px ; margin : 0 0 6 px ; color : # EC1313 ;
2026-10-02 00:47:49 -04:00
}
. cover . subtitle {
2026-10-02 07:24:38 -04:00
font - family : 'Montserrat' , sans - serif ; font - weight : 600 ;
font - size : 13 pt ; color : # 94 a3b8 ; letter - spacing : 3 px ; text - transform : uppercase ;
2026-10-02 00:47:49 -04:00
margin - bottom : 40 px ;
}
2026-10-02 07:24:38 -04:00
. cover . meta { font - size : 10.5 pt ; color : # 64748 b ; line - height : 2 ; }
2026-10-02 00:47:49 -04:00
. cover . meta strong { color : # 94 a3b8 ; }
. cover . badge {
2026-10-02 07:24:38 -04:00
display : inline - block ; padding : 6 px 18 px ;
border : 1 px solid # 2 a3346 ; border - radius : 20 px ;
font - size : 9 pt ; color : # EC1313 ; margin - top : 28 px ; letter - spacing : 1.5 px ;
font - family : 'Montserrat' , sans - serif ; font - weight : 600 ;
2026-10-02 00:47:49 -04:00
}
. toc { page - break - after : always ; padding - top : 20 px ; }
2026-10-02 07:24:38 -04:00
. toc h2 {
font - family : 'Montserrat' , sans - serif ; font - weight : 700 ;
font - size : 22 pt ; color : # 0 f172a ; border - bottom : 3 px solid # c61010 ; padding - bottom : 8 px ;
}
2026-10-02 00:47:49 -04:00
. toc ul { list - style : none ; padding : 0 ; }
2026-10-02 07:24:38 -04:00
. toc li { padding : 5 px 0 ; border - bottom : 1 px solid # e2e8f0 ; font - size : 10.5 pt ; }
. toc . section - header {
font - family : 'Montserrat' , sans - serif ; font - weight : 700 ;
color : # c61010 ; margin - top : 14 px ; font - size : 11 pt ; border - bottom : none ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
h1 {
font - family : 'Montserrat' , sans - serif ; font - weight : 700 ;
font - size : 22 pt ; color : # 0 f172a ;
border - bottom : 3 px solid # c61010 ; padding - bottom : 8 px ;
margin - top : 36 px ; page - break - before : always ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
h1 : first - of - type { page - break - before : avoid ; }
h2 {
font - family : 'Montserrat' , sans - serif ; font - weight : 700 ;
font - size : 16 pt ; color : # 0 f172a ;
margin - top : 28 px ; border - bottom : 1 px solid # e2e8f0 ; padding - bottom : 6 px ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
h3 {
font - family : 'Montserrat' , sans - serif ; font - weight : 600 ;
font - size : 13 pt ; color : # 475569 ; margin - top : 18 px ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
p { margin : 6 px 0 ; }
strong { color : # 0 f172a ; }
figure {
margin : 14 px 0 ; page - break - inside : avoid ;
background : # 141923 ; border - radius : 10 px ; padding : 8 px ; border : 1 px solid # 2 a3346 ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
figure img { width : 100 % ; max - height : 460 px ; object - fit : contain ; border - radius : 6 px ; }
figcaption { font - size : 8.5 pt ; color : # 94 a3b8 ; text - align : center ; margin - top : 6 px ; font - style : italic ; }
table { width : 100 % ; border - collapse : collapse ; margin : 10 px 0 ; font - size : 10 pt ; }
th {
background : # f1f5f9 ; color : # 0 f172a ; font - weight : 600 ;
text - align : left ; padding : 7 px 10 px ; border - bottom : 2 px solid # cbd5e1 ;
font - family : 'Montserrat' , sans - serif ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
td { padding : 5 px 10 px ; border - bottom : 1 px solid # e2e8f0 ; vertical - align : top ; }
ul { padding - left : 20 px ; } li { margin : 3 px 0 ; }
2026-10-02 00:47:49 -04:00
code {
2026-10-02 07:24:38 -04:00
font - family : 'Fira Code' , monospace ; font - size : 9 pt ;
background : # f1f5f9 ; padding : 1 px 4 px ; border - radius : 3 px ;
2026-10-02 00:47:49 -04:00
}
pre {
2026-10-02 07:24:38 -04:00
background : # 0 f172a ; color : # e2e8f0 ; padding : 12 px 16 px ;
border - radius : 8 px ; font - size : 8.5 pt ; line - height : 1.6 ;
font - family : 'Fira Code' , monospace ;
2026-10-02 00:47:49 -04:00
}
pre code { background : none ; padding : 0 ; color : inherit ; }
. callout {
2026-10-02 07:24:38 -04:00
background : # fef2f2 ; border - left : 4 px solid # c61010 ;
padding : 10 px 14 px ; margin : 12 px 0 ; border - radius : 0 6 px 6 px 0 ; font - size : 10 pt ;
2026-10-02 00:47:49 -04:00
}
2026-10-02 07:24:38 -04:00
. missing { color : # 94 a3b8 ; font - style : italic ; font - size : 9 pt ; }
2026-10-02 00:47:49 -04:00
< / s t y l e >
< / h e a d >
< body >
< div class = "cover" >
2026-10-02 07:24:38 -04:00
$ { logoB64 ? ` <img class="cover-logo" src=" ${ logoB64 } " alt="BMG" /> ` : '' }
2026-10-02 00:47:49 -04:00
< h1 > Media Command ™ < / h 1 >
2026-10-02 07:24:38 -04:00
< div class = "subtitle" > Operator & amp ; Engineering Guide < / d i v >
2026-10-02 00:47:49 -04:00
< div class = "meta" >
< strong > Organization : < / s t r o n g > B r o a d c a s t M a n a g e m e n t G r o u p ( B M G ) < b r >
2026-10-02 07:24:38 -04:00
< strong > Version : < / s t r o n g > M e d i a C o m m a n d ™ v 0 . 9 1 < b r >
2026-10-02 00:47:49 -04:00
< strong > Reference Data : < / s t r o n g > 1 2 , 3 5 3 I n d e x e d B r o a d c a s t A s s e t s < b r >
< strong > Date : < / s t r o n g > O c t o b e r 2 0 2 6
< / d i v >
2026-10-02 07:24:38 -04:00
< div class = "badge" > PRODUCTION · VERIFIED WITH REAL MEDIA < / d i v >
2026-10-02 00:47:49 -04:00
< / d i v >
< div class = "toc" >
< h2 > Table of Contents < / h 2 >
< ul >
< li class = "section-header" > Foundation < / l i >
2026-10-02 07:24:38 -04:00
< li > 1. System Overview < / l i >
< li > 2. Authentication & amp ; Access Control < / l i >
< li > 3. Dashboard < / l i >
2026-10-02 00:47:49 -04:00
< li class = "section-header" > Live Ingest & amp ; Control < / l i >
2026-10-02 07:24:38 -04:00
< li > 4. Recorders < / l i > < l i > 5 . S c h e d u l e < / l i > < l i > 6 . L i v e G r a p h i c s < / l i > < l i > 7 . M o n i t o r W a l l < / l i >
< li class = "section-header" > Media < / l i >
< li > 8. Projects < / l i > < l i > 9 . L i b r a r y < / l i > < l i > 1 0 . A s s e t D e t a i l & a m p ; P l a y e r < / l i >
< li > 11. Upload < / l i > < l i > 1 2 . C o n t r i b u t i o n < / l i > < l i > 1 3 . Y o u T u b e I n g e s t < / l i > < l i > 1 4 . C l o u d I m p o r t < / l i >
< li class = "section-header" > Operations < / l i >
< li > 15. Jobs < / l i > < l i > 1 6 . S t a g i n g < / l i > < l i > 1 7 . P l a y o u t < / l i > < l i > 1 8 . C l i p S e r v e r < / l i >
< li > 19. Editor < / l i > < l i > 2 0 . E n g i n e e r i n g < / l i > < l i > 2 1 . A p p l i c a t i o n s & a m p ; D o w n l o a d s < / l i >
< li class = "section-header" > Administration < / l i >
< li > 22. Users & amp ; Groups < / l i > < l i > 2 3 . A P I T o k e n s < / l i > < l i > 2 4 . C o n t a i n e r s < / l i > < l i > 2 5 . L o g s < / l i >
< li > 26. Audit Log < / l i > < l i > 2 7 . C l u s t e r < / l i > < l i > 2 8 . A l e r t s < / l i > < l i > 2 9 . S e t t i n g s < / l i >
< li class = "section-header" > Plugins & amp ; Applications < / l i >
< li > 30. Premiere Pro UXP Plugin < / l i > < l i > 3 1 . D a V i n c i R e s o l v e P l u g i n < / l i >
< li > 32. Media Command Transfer < / l i > < l i > 3 3 . M e d i a C o m m a n d R E M I < / l i > < l i > 3 4 . D r a g o n - I S O < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
< / d i v >
2026-10-02 07:24:38 -04:00
< h1 > 1. System Overview < / h 1 >
< p > < strong > Media Command < / s t r o n g > i s a b r o a d c a s t m e d i a a s s e t m a n a g e m e n t , l i v e c a p t u r e , a n d p l a y o u t p l a t f o r m . < / p >
< h3 > Architecture < / h 3 >
< 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 & amp ; Ingest │
│ GPU ( NVENC ) │ │ pgvector · Redis 7 │ │ CasparCG / AMCP │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ < / c o d e > < / p r e >
2026-10-02 00:47:49 -04:00
< h3 > Technology Stack < / h 3 >
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Web UI : < / s t r o n g > J S X c o m p o n e n t s b u n d l e d b y e s b u i l d , s e r v e d b y n g i n x . H L S . j s f o r a d a p t i v e p l a y b a c k , W e b R T C ( W H E P ) f o r s u b - s e c o n d m o n i t o r i n g . < / l i >
< li > < strong > API : < /strong> Node.js / Express ( ESM ) , PostgreSQL 16 with pgvector , Redis 7 , BullMQ job queues . < / l i >
< li > < strong > Workers : < / s t r o n g > G P U - a c c e l e r a t e d t r a n s c o d i n g ( N V I D I A N V E N C / N V D E C ) a c r o s s a d i s t r i b u t e d c o m p u t e f l e e t . < / l i >
< li > < strong > Playout : < / s t r o n g > C a s p a r C G s i d e c a r c o n t a i n e r s d r i v e n o v e r A M C P , w i t h H T M L g r a p h i c s o v e r l a y l a y e r s . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h3 > TAMS fMP4 Master Flows < / h 3 >
< p > Media Command records into < strong > fragmented MP4 ( CMAF ) < / s t r o n g > c o n t a i n e r s . S e g m e n t s a r e w r i t t e n s e q u e n t i a l l y t o N V M e , a l l o w i n g e d i t o r s t o s c r u b u p t o t h e l i v e r e c o r d e d g e w h i l e c a p t u r e i s s t i l l i n p r o g r e s s . H . 2 6 4 a n d H E V C f e e d s a r e s t r e a m - c o p i e d d i r e c t l y — n o t r a n s c o d e r e q u i r e d . < / p >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 2. Authentication & amp ; Access Control < / h 1 >
$ { img ( '01-login-page.png' , 'Media Command — Login' ) }
< h3 > Authentication Methods < / h 3 >
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Local credentials : < / s t r o n g > b c r y p t - h a s h e d p a s s w o r d s ( c o s t 1 2 ) . < / l i >
< li > < strong > SSO via Authentik : < / s t r o n g > O A u t h 2 / O I D C b r o k e r i n g @ b r o a d c a s t m g m t . c o m ( M 3 6 5 ) a n d @ b m g r e m i . c o m ( G o o g l e W o r k s p a c e ) . < / l i >
< li > < strong > MFA : < / s t r o n g > T O T P e n f o r c e m e n t a v a i l a b l e f o r a d m i n i s t r a t i v e a c c o u n t s . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< p > < strong > Session : < / s t r o n g > < c o d e > e x p r e s s - s e s s i o n < / c o d e > w i t h < c o d e > c o n n e c t - p g - s i m p l e < / c o d e > s t o r e . C o o k i e : < c o d e > d r a g o n f l i g h t . s i d < / c o d e > , h t t p O n l y , 3 0 - d a y l i f e t i m e . < / p >
< h3 > Roles < / h 3 >
2026-10-02 00:47:49 -04:00
< table >
2026-10-02 07:24:38 -04:00
< tr > < th > Role < / t h > < t h > S c o p e < / t h > < / t r >
< tr > < td > < strong > Admin < / s t r o n g > ( < c o d e > p l a t f o r m _ a d m i n < / c o d e > ) < / t d > < t d > F u l l c l u s t e r c o n t r o l , u s e r / t o k e n p r o v i s i o n i n g , c o n t a i n e r m a n a g e m e n t , s t o r a g e c o n f i g u r a t i o n . < / t d > < / t r >
2026-10-02 00:47:49 -04:00
< tr > < td > < strong > Operator < / s t r o n g > < / t d > < t d > R e c o r d e r c o n t r o l , s c h e d u l e a u t o m a t i o n , p l a y o u t q u e u e m a n i p u l a t i o n , g r a p h i c s t r i g g e r i n g . < / t d > < / t r >
2026-10-02 07:24:38 -04:00
< tr > < td > < strong > Viewer < / s t r o n g > < / t d > < t d > R e a d - o n l y a c c e s s t o m e t a d a t a a n d p r o x y s t r e a m s . D e f a u l t f o r n e w S S O u s e r s . < / t d > < / t r >
2026-10-02 00:47:49 -04:00
< / t a b l e >
2026-10-02 07:24:38 -04:00
< p > Per - project and per - organization permissions provide granular access beyond the global role . < / p >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 3. Dashboard < / h 1 >
$ { img ( '02-dashboard-home.png' , 'Operations Dashboard — system vitals, recent activity, and quick navigation' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Asset count : < / s t r o n g > t o t a l i n d e x e d a s s e t s a c r o s s a l l p r o j e c t s . < / l i >
< li > < strong > Queue status : < / s t r o n g > r u n n i n g a n d f a i l e d B u l l M Q w o r k e r t a s k s . < / l i >
< li > < strong > Recorder summary : < / s t r o n g > e n a b l e d a n d c o n f i g u r e d c a p t u r e p o r t s . < / l i >
< li > < strong > Recent activity : < / s t r o n g > f i l e s i n g e s t e d i n t h e l a s t 2 4 h o u r s . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< p > Quick - access tiles link to Library , Recorders , Playout , Jobs , Downloads , and Settings . < / p >
2026-10-02 00:47:49 -04:00
< h1 > 4. Recorders < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '05-live-recorders.png' , 'Recorders — capture ports and network ingest engines' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Port cards : < / s t r o n g > e a c h c a r d r e p r e s e n t s a c a p t u r e p o r t ( B l a c k m a g i c , A J A , o r D e l t a c a s t ) . < / l i >
< li > < strong > Signal detection : < / s t r o n g > r e a l - t i m e i n p u t f o r m a t ( < c o d e > 1 0 8 0 i 5 9 . 9 4 < / c o d e > , < c o d e > 1 0 8 0 p 2 9 . 9 7 < / c o d e > , < c o d e > 2 1 6 0 p 5 9 . 9 4 < / c o d e > ) . < / l i >
< li > < strong > Codec selection : < / s t r o n g > H . 2 6 4 i n t r a ( 3 5 / 5 0 / 7 5 / 1 0 0 M b p s t i e r s ) a n d H E V C i n t r a . P e r - p o r t c o n f i g u r a t i o n . < / l i >
< li > < strong > Actions : < / s t r o n g > < c o d e > C r e a t e R e c o r d i n g < / c o d e > , < c o d e > A d d S t r e a m < / c o d e > ( S R T / R T M P ) , < c o d e > R e s e t t o D e f a u l t < / c o d e > . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
< h1 > 5. Schedule < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '06-live-schedule.png' , 'Schedule — automated event-driven recording calendar' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > Grid - based calendar with per - port timeline lanes . < / l i >
< li > Traffic schedule and CSV run - sheet import . < / l i >
< li > Configurable pre / post - roll padding . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 6. Live Graphics < / h 1 >
2026-10-02 00:47:49 -04:00
$ { img ( '07-live-graphics.png' , 'Live Graphics — HTML5 broadcast overlay engine' ) }
< ul >
2026-10-02 07:24:38 -04:00
< li > Sandboxed Chromium offscreen rendering for lower - thirds , scoreboards , and bugs . < / l i >
< li > DSK layer stacking over playout or recorder preview streams . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
< h1 > 7. Monitor Wall < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '08-live-monitor-wall.png' , 'Monitor Wall — high-density WebRTC multiviewer' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > Grid layouts : < code > Auto < / c o d e > , < c o d e > 2 × 2 < / c o d e > , < c o d e > 3 × 3 < / c o d e > , < c o d e > 4 × 4 < / c o d e > , < c o d e > 6 × 6 < / c o d e > . < / l i >
< li > Feed filters : Recorders , WebRTC , Playout Channels . < / l i >
< li > WHEP / WebRTC with sub - second latency . < / l i >
< li > Multi - channel audio meters on active tiles . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 8. Projects < / h 1 >
$ { img ( '03-projects.png' , 'Projects — workspace directory' ) }
$ { img ( '04-project-bmg-overview.png' , 'Broadcast Managment Group — bins and folders' ) }
< p > Projects isolate media , permissions , and bins . Active projects include Broadcast Management Group ( 12 , 353 assets ) , UBS , Protour , First We Feast , and others . < / p >
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Project creation : < / s t r o n g > d e f i n e n a m e , s t o r a g e a l l o c a t i o n , a n d a s s i g n e d u s e r g r o u p s . < / l i >
< li > < strong > Recycle Bin : < / s t r o n g > d e l e t e d a s s e t s q u a r a n t i n e s e p a r a t e l y p e r p r o j e c t . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 9. Library < / h 1 >
$ { 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' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Project switcher : < / s t r o n g > d r o p d o w n t o s w i t c h b e t w e e n a s s i g n e d p r o j e c t s o r < c o d e > ★ A l l P r o j e c t s ( A d m i n V i e w ) < / c o d e > . < / l i >
< li > < strong > Search : < / s t r o n g > f u l l - t e x t a c r o s s f i l e n a m e s , t a g s , a n d m e t a d a t a . < / l i >
< li > < strong > Faceted filters : < / s t r o n g > f i l e t y p e , c o d e c , r e s o l u t i o n , d a t e r a n g e . < / l i >
< li > < strong > Display modes : < / s t r o n g > l i s t v i e w a n d t h u m b n a i l g r i d . < / l i >
< li > < strong > Bins : < / s t r o n g > h i e r a r c h i c a l f o l d e r s . S a v e d s e a r c h e s p r o v i d e p e r - u s e r n a m e d f i l t e r p r e s e t s . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 10. Asset Detail & amp ; Player < / h 1 >
$ { 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' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Video player : < / s t r o n g > p r o x y p l a y b a c k w i t h t i m e c o d e s c r u b b i n g , J - K - L s h u t t l e , i n / o u t p o i n t s ( < c o d e > I < / c o d e > / < c o d e > O < / c o d e > ) . < / l i >
< li > < strong > TAMS adaptive playback : < / s t r o n g > s c r u b b i n g w o r k s o n m u l t i - h o u r g r o w i n g f i l e s . < / l i >
< li > < strong > Tabs : < / s t r o n g > F i l e s , M e t a d a t a , T r a n s c r i p t , A I A n a l y s i s & a m p ; F a c e s , V e r s i o n s , C o m m e n t s , R e v i e w . < / l i >
< li > < strong > Technical metadata : < / s t r o n g > c o n t a i n e r , c o d e c , r e s o l u t i o n , f r a m e r a t e , b i t r a t e , s t o r a g e p a t h , c h e c k s u m s . < / l i >
< li > < strong > Actions : < / s t r o n g > R e v i e w , E d i t , S h a r e , P u l l H i - R e s , R e f r a m e & a m p ; S o c i a l , C l i p . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 11. Upload < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 12. Contribution < / h 1 >
$ { img ( '11-media-contribution.png' , 'Contribution — SRT/RTMP ingest for remote broadcast feeds' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > SRT : < / s t r o n g > c a l l e r / l i s t e n e r m o d e w i t h p a s s p h r a s e a n d a d j u s t a b l e l a t e n c y . < / l i >
< li > < strong > RTMP / RTMPS : < / s t r o n g > c u s t o m s t r e a m i n g k e y s f o r O B S , v M i x , W i r e c a s t . < / l i >
< li > < strong > Auto - recording : < / s t r o n g > s t a r t s a T A M S r e c o r d i n g w h e n a c o n t r i b u t i o n s t r e a m c o n n e c t s . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 13. YouTube Ingest < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
< h1 > 14. Cloud Import < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '13-media-cloud-import.png' , 'Cloud Import — Google Drive, Dropbox, and S3 connectors' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > < strong > Google Drive < / s t r o n g > a n d < s t r o n g > D r o p b o x < / s t r o n g > c o n n e c t o r s . < / l i >
< li > < strong > S3 - compatible storage : < / s t r o n g > A m a z o n S 3 , W a s a b i , B a c k b l a z e B 2 , M i n I O . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 15. Jobs < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
< h1 > 16. Staging < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '15-ops-staging.png' , 'Staging — NVMe scratch storage monitoring' ) }
< p > Tracks free space across cluster scratch disks and enforces retention policies . < / p >
2026-10-02 00:47:49 -04:00
< h1 > 17. Playout < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '16-ops-playout.png' , 'Playout — master control channel automation' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > CasparCG sidecar containers driven over AMCP , one per channel . < / l i >
< li > Drag - and - drop rundown builder with CUE , PLAY , PAUSE , STOP , LOOP . < / l i >
< li > Program and preview confidence monitoring . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
$ { img ( '29-playout-rundown.png' , 'Playout — Rundown view' ) }
2026-10-02 00:47:49 -04:00
< h1 > 18. Clip Server < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '17-ops-clip-server.png' , 'Clip Server — instant-access cart for live replay' ) }
< p > Pre - loaded frames in shared memory ( < code > / d e v / s h m < / c o d e > ) f o r f r a m e - a c c u r a t e p l a y b a c k . < / p >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 19. Editor < / h 1 >
$ { img ( '18-ops-editor.png' , 'Editor — browser-based NLE (/editor.html)' ) }
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > Multi - track timeline ( V1 , V2 , A1 – A5 ) . < / l i >
< li > In / out trimming on TAMS master flows . < / l i >
< li > Export to Library with codec presets and crop - to - fill options . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
< h1 > 20. Engineering < / h 1 >
2026-10-02 07:24:38 -04:00
$ { 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 >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 21. Applications & amp ; Downloads < / h 1 >
$ { 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' ) }
2026-10-02 00:47:49 -04:00
< table >
< tr > < th > Application < / t h > < t h > P l a t f o r m < / t h > < t h > I n s t a l l e r < / t h > < / t r >
2026-10-02 07:24:38 -04:00
< tr > < td > Premiere Pro UXP Plugin < /td><td>macOS / Windows < / t d > < t d > < c o d e > d r a g o n f l i g h t - m a m - 2 . 2 7 . 6 . c c x < / c o d e > < / t d > < / t r >
< tr > < td > DaVinci Resolve Plugin < /td><td>macOS / Windows < / t d > < t d > < c o d e > d r a g o n f l i g h t - r e s o l v e - 0 . 1 . 2 . z i p < / c o d e > < / t d > < / t r >
< tr > < td > Media Command Transfer < /td><td>macOS / Windows < / t d > < t d > < c o d e > M e d i a - C o m m a n d - T r a n s f e r - 0 . 2 . 1 < / c o d e > < / t d > < / t r >
< tr > < td > Media Command REMI < /td><td>macOS / Windows < / t d > < t d > < c o d e > M e d i a - C o m m a n d - R E M I - 0 . 3 . 3 < / c o d e > < / t d > < / t r >
2026-10-02 00:47:49 -04:00
< tr > < td > Dragon - ISO < / t d > < t d > W i n d o w s < / t d > < t d > < c o d e > D r a g o n - I S O - S e t u p - 1 . 1 . 0 . m s i < / c o d e > < / t d > < / t r >
< / t a b l e >
< h1 > 22. Users & amp ; Groups < / h 1 >
2026-10-02 07:24:38 -04:00
$ { 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 >
2026-10-02 00:47:49 -04:00
< h1 > 23. API Tokens < / h 1 >
2026-10-02 07:24:38 -04:00
$ { img ( '22-admin-api-tokens.png' , 'API Tokens — scoped automation keys' ) }
< p > Scoped API keys for automation pipelines . Supports expiration and instant revocation . < / p >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 24. Containers < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 25. Logs < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 26. Audit Log < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 27. Cluster < / h 1 >
$ { img ( '26-admin-cluster.png' , 'Cluster — multi-node topology and heartbeat monitoring' ) }
< p > Cluster topology visualizer with heartbeat and connectivity monitoring . < / p >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 28. Alerts < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
2026-10-02 07:24:38 -04:00
< h1 > 29. Settings < / h 1 >
$ { 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 >
2026-10-02 00:47:49 -04:00
< h1 > 30. Adobe Premiere Pro UXP Plugin < / h 1 >
2026-10-02 07:24:38 -04:00
< p > < strong > Package : < / s t r o n g > < c o d e > d r a g o n f l i g h t - m a m - 2 . 2 7 . 6 . c c x < / c o d e > · < s t r o n g > R e q u i r e s : < / s t r o n g > P r e m i e r e P r o 2 0 2 6 ( v 2 6 + ) < / p >
2026-10-02 00:47:49 -04:00
< h3 > Installation < / h 3 >
< ol >
2026-10-02 07:24:38 -04:00
< li > Download the < code > . ccx < / c o d e > f r o m t h e D o w n l o a d s m e n u . < / l i >
< li > Double - click to install via Creative Cloud , or use the UXP Developer Tool . < / l i >
< li > In Premiere : < strong > Window → Extensions → Media Command ™ < / s t r o n g > . < / l i >
2026-10-02 00:47:49 -04:00
< / o l >
2026-10-02 07:24:38 -04:00
< h3 > Capabilities < / h 3 >
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > Browse the MAM library , search assets , import proxy or hi - res renditions . < / l i >
< li > Mount live growing TAMS capture streams for edit - while - record . < / l i >
< li > Relink proxy edits to full - resolution masters . < / l i >
< li > Export sequences directly to MAM project bins . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
< h1 > 31. DaVinci Resolve Studio Plugin < / h 1 >
2026-10-02 07:24:38 -04:00
< p > < strong > Package : < / s t r o n g > < c o d e > d r a g o n f l i g h t - r e s o l v e - 0 . 1 . 2 . z i p < / c o d e > · < s t r o n g > R e q u i r e s : < / s t r o n g > R e s o l v e S t u d i o 1 8 . 5 + < / p >
2026-10-02 00:47:49 -04:00
< h3 > Installation < / h 3 >
< ol >
2026-10-02 07:24:38 -04:00
< li > Download and extract to the Workflow Integration Plugins directory . < / l i >
< li > In Resolve Studio : < strong > Workspace → Workflow Integrations → Media Command ™ MAM < / s t r o n g > . < / l i >
2026-10-02 00:47:49 -04:00
< / o l >
2026-10-02 07:24:38 -04:00
< h3 > Capabilities < / h 3 >
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > Browse and search the MAM catalog . < / l i >
< li > Import assets directly into the Resolve Media Pool . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
< h1 > 32. Media Command Transfer < / h 1 >
< table >
2026-10-02 07:24:38 -04:00
< tr > < th > Platform < / t h > < t h > F i l e < / t h > < / t r >
2026-10-02 00:47:49 -04:00
< tr > < td > macOS Apple Silicon < / t d > < t d > < c o d e > M e d i a - C o m m a n d - T r a n s f e r - 0 . 2 . 1 - m a c - a r m 6 4 . z i p < / c o d e > < / t d > < / t r >
< tr > < td > macOS Intel < / t d > < t d > < c o d e > M e d i a - C o m m a n d - T r a n s f e r - 0 . 2 . 1 - m a c - x 6 4 . z i p < / c o d e > < / t d > < / t r >
< tr > < td > Windows x64 < / t d > < t d > < c o d e > M e d i a - C o m m a n d - T r a n s f e r - 0 . 2 . 1 - w i n - x 6 4 . e x e < / c o d e > < / t d > < / t r >
< / t a b l e >
2026-10-02 07:24:38 -04:00
< 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>
2026-10-02 00:47:49 -04:00
< h1 > 33. Media Command REMI < / h 1 >
< table >
2026-10-02 07:24:38 -04:00
< tr > < th > Platform < / t h > < t h > F i l e < / t h > < / t r >
2026-10-02 00:47:49 -04:00
< tr > < td > macOS Apple Silicon < / t d > < t d > < c o d e > M e d i a - C o m m a n d - R E M I - 0 . 3 . 3 - m a c - a r m 6 4 . z i p < / c o d e > < / t d > < / t r >
< tr > < td > macOS Intel < / t d > < t d > < c o d e > M e d i a - C o m m a n d - R E M I - 0 . 3 . 3 - m a c - x 6 4 . z i p < / c o d e > < / t d > < / t r >
2026-10-02 07:24:38 -04:00
< tr > < td > Windows x64 < / t d > < t d > < c o d e > M e d i a - C o m m a n d - R E M I - 0 . 3 . 3 - w i n - x 6 4 . e x e < / c o d e > < / t d > < / t r >
2026-10-02 00:47:49 -04:00
< / t a b l e >
< ul >
2026-10-02 07:24:38 -04:00
< li > Up to 8 tiles per window with configurable grid layouts . < / l i >
< li > Proxy / QC mode toggle for full - quality NVENC streams . < / l i >
< li > Audio metering with channel pair selection , solo , and mute . < / l i >
< li > Broadcast OSD overlays ( tally , timecode , safe area , crosshairs ) . < / l i >
< li > Multi - window , multi - display support . < / l i >
< li > HTTP REST API and WebSocket for Bitfocus Companion / Stream Deck . < / l i >
< li > Builds are unsigned . < / l i >
2026-10-02 00:47:49 -04:00
< / u l >
< h1 > 34. Dragon - ISO < / h 1 >
2026-10-02 07:24:38 -04:00
< p > < strong > Package : < / s t r o n g > < c o d e > D r a g o n - I S O - S e t u p - 1 . 1 . 0 . m s i < / c o d e > · < s t r o n g > P l a t f o r m : < / s t r o n g > W i n d o w s 1 0 / 1 1 < / 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 >
2026-10-02 00:47:49 -04:00
< ul >
2026-10-02 07:24:38 -04:00
< li > REST & amp ; WebSocket on < code > 127.0 . 0.1 : 9755 < / c o d e > . < / l i >
< li > OSC server on UDP < code > 127.0 . 0.1 : 9000 < / c o d e > f o r C o m p a n i o n a n d T o u c h O S C . < / l i >
< li > Mobile web controller at < code > http : //localhost:9755/ui</code>.</li>
2026-10-02 00:47:49 -04:00
< / u l >
2026-10-02 07:24:38 -04:00
< h1 > 35. Safety & amp ; Runbooks < / h 1 >
< div class = "callout" >
< strong > Media Deletion Protocol : < / s t r o n g > D e l e t i n g a n a s s e t m o v e s i t t o t h e p r o j e c t ' s R e c y c l e B i n . P e r m a n e n t p u r g e r e q u i r e s a d m i n c r e d e n t i a l s a n d c o n f i r m a t i o n d i a l o g s .
2026-10-02 00:47:49 -04:00
< / d i v >
2026-10-02 07:24:38 -04:00
< h3 > Live Growing File Editing < / h 3 >
2026-10-02 00:47:49 -04:00
< ol >
2026-10-02 07:24:38 -04:00
< li > In < strong > Recorders < / s t r o n g > , s e l e c t t h e t a r g e t p o r t a n d s e t c o d e c t o H . 2 6 4 i n t r a o r H E V C i n t r a . < / l i >
< li > Click < strong > Create Recording < / s t r o n g > . < / l i >
< li > In the < strong > Premiere Pro plugin < / s t r o n g > , l o c a t e t h e a c t i v e r e c o r d i n g ( r e d < c o d e > L I V E < / c o d e > b a d g e ) a n d c l i c k < s t r o n g > M o u n t G r o w i n g F i l e < / s t r o n g > . < / l i >
< li > Edit immediately — new segments are recognized dynamically . < / l i >
2026-10-02 00:47:49 -04:00
< / o l >
2026-10-02 07:24:38 -04:00
< 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
2026-10-02 00:47:49 -04:00
< / p >
< / b o d y >
< / h t m l > ` ;
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 ( {
2026-10-02 07:24:38 -04:00
headless : true , args : [ '--no-sandbox' , '--disable-setuid-sandbox' , '--disable-dev-shm-usage' ]
2026-10-02 00:47:49 -04:00
} ) ;
const context = await browser . newContext ( ) ;
const page = await context . newPage ( ) ;
await page . goto ( ` file:// ${ htmlPath } ` , { waitUntil : 'load' } ) ;
2026-10-02 07:24:38 -04:00
await page . waitForTimeout ( 5000 ) ;
2026-10-02 00:47:49 -04:00
await page . pdf ( {
2026-10-02 07:24:38 -04:00
path : OUTPUT _PDF , format : 'Letter' , landscape : true , printBackground : true ,
margin : { top : '18mm' , right : '16mm' , bottom : '20mm' , left : '16mm' } ,
2026-10-02 00:47:49 -04:00
displayHeaderFooter : true ,
headerTemplate : '<span></span>' ,
2026-10-02 07:24:38 -04:00
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>'
2026-10-02 00:47:49 -04:00
} ) ;
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 ( ) ;
} ) ( ) ;