Stoatworks Labs

User guide

Showbook user guide

v0.2.0Updated 12 October 2026

Showbook is a desktop show file library for video switchers. It keeps every show for your Barco Event Master (E2, S3-4K, EX, Encore3) and Analog Way LivePremier (Aquilon) with a version history, reads Midra 4K and Alta 4K too, and pulls shows from and pushes them to the live hardware.

It draws the patch, the screens, the layers and the presets, and writes PDF documentation, test patterns, multiviewer layouts and Bitfocus Companion pages. It also converts a show between platforms and tells you what carried, what was adapted and what was dropped.

Before you rely on this: every driver was built against the vendors’ own simulators and their published protocol guides: Barco’s Event Master Toolset simulator (E2 9.2, Encore3 10.0) and Analog Way’s LivePremier, Midra 4K and Alta 4K simulators. The parsers, the library, the history, the conversion, the PDF and the Companion export are covered by tests on captures from those simulators, and the desktop app has pulled a show from the LivePremier simulator and written the PDF for it.

But nothing here has been run against a physical switcher. The Barco simulators don’t serve the JSON-RPC API, so the Event Master live path has never answered a request. No Event Master preset or cue file has ever been seen (the simulators never had one saved). And an .awc has been uploaded to a simulator but never applied, because that step reboots the device. Read What has been checked before you trust a pull, a push or a preset read from a backup. Status: in development.

This codebase was created with AI assistance, directed and reviewed by a human author.


What a show is

Showbook keeps one brand-neutral model and reads each vendor’s own file into it. A show has:

  • a platform and a model: which family of switcher it belongs to (Event Master, LivePremier, Midra 4K, Alta 4K, LiveCore, PDS-4K, PixelHue, or generic) and which frame;
  • the system: firmware, device name, native rate, genlock, and the chassis — every frame, slot, card and connector;
  • inputs and outputs, each on a connector with a format; sources built on inputs, stills, multiviewers or auxes, with an area of interest;
  • screens (and auxiliary screens): a canvas size, the outputs tiled onto it, the layers it has and their capacity, and the transition;
  • presets (for each screen they target, the background and every layer’s source, rectangle, crop, opacity and border) and master presets that recall one preset per screen;
  • cues, multiviewers with their layouts and windows, and stills;
  • the vendor files the show came from (an Event Master backup archive, a LivePremier .awc), kept opaque and byte-exact; and notes: everything the importer couldn’t place, so nothing gets dropped without you knowing.

Each vendor’s spelling is kept where it matters: an Event Master preset is pre:<id> in the frame’s own numbering, an Aquilon memory is pre:<slot>, layers are layer:<n>, and a LivePremier screen remembers which preset letter was on program when it was captured.

The library

A library is a folder of plain files:

shows/<id>/show.json                   the current version of each show
shows/<id>/history/index.json          its version list
shows/<id>/history/<sha256>.json.gz    every saved version, content-addressed
shows/<id>/vendor/<sha256><ext>        the vendor files kept with it, once each

There’s no database and nothing’s hidden. Copy the folder and you’ve copied the library.

Settings → Library → Folder chooses it. The default is Showbook in your Documents folder. Put it inside a folder that Dropbox, OneDrive or Google Drive’s desktop client carries and the whole library follows you between machines, or use the Sync page to mirror it over the drives’ own APIs.

Settings → Your name is recorded on every version you save.

Settings themselves live in settings.json in the app’s configuration folder: on macOS ~/Library/Application Support/com.allansargeant.showbook, on Windows %APPDATA%\com.allansargeant.showbook, and on Linux ~/.config/com.allansargeant.showbook. The path is shown under Settings → About.

Getting a show in

Import a file

Library → Import file… takes:

File From
E3Backup.tar.gz, a backup .zip Event Master Toolset: Configuration → Backup, or the Encore3’s /api/backup
settings.xml the frame’s xml/ folder, bare
.awc LivePremier: Web RCS → Setup → Backup/Restore → export
.json, a saved device store LivePremier Web RCS GET /api/stores/device, saved to disk
.json, Showbook’s own another Showbook, or Documents & export → Showbook JSON

An Event Master archive is unpacked and settings.xml is read along with everything beside it (presets/, cues/, userkey/, hwconfig.xml on an Encore3), and the archive itself is kept as a vendor file. An .awc is read for its manifest (the device, its modules, the firmware) and kept whole. Its payload is encrypted and Showbook doesn’t look inside it. The show’s configuration comes from the device store, not the .awc, so pull it from the device or import a saved store.

Import a folder

Library → Import folder… takes the frame’s xml/ folder (the one holding settings.xml) or any folder that holds it, such as an unpacked backup.

Pull from a device

See Devices. A pull creates a new show, or updates an existing one and records a version.

Start from nothing

Library → New show asks for a name, a platform and a model, and opens an empty show. Add inputs, outputs, screens and layers on the Patch and Screens tabs; the chassis fills in when the show is first pulled from a device or converted from one that has one.

The show window

The title is editable. Beside it: the platform, the model and the firmware. On the right:

  • a commit message and Save version. Every save is a version (see History). The button reads Saved when nothing has changed. Enter in the message field saves too.
  • Duplicate copies the show, with a new name, into a new entry with no history.
  • Delete removes the show and its whole history from the library. It asks first, and there’s no undo.
  • Close returns to the library and drops unsaved edits, so save a version first. The sidebar shows a dot beside the show while it has unsaved edits.

The tabs:

Overview

System: platform, model (a list of the models Showbook knows for that platform), firmware, device name, native rate, genlock; tags; free-text show notes.

Production: the show or event name, client, production company, venue, date(s), operator and a contact. All of it’s optional and none of it comes from the device. It’s what the documentation’s cover prints, and the event name (when set) titles the document and its file.

At a glance: the counts: inputs, outputs, screens, aux, presets, masters, cues, multiviewers, stills, mixer layers.

Chassis: every frame, slot and card, and every connector with what’s on it: the input or output it carries, its label, its format, and which screen or multiviewer it feeds. Empty connectors are drawn empty. The documentation prints the same frame as a map of coloured squares and as a table.

Patch

Three tables, Inputs, Outputs and Sources, with the label, the connector, the format and, for outputs, the role (screen, aux, multiviewer, test) and what the output feeds. Labels and formats are editable; type a format as 1920x1080p60 (or 1920x1080i50, 3840x2160p59.94). A source shows what it’s built on (an input, a still, a multiviewer) and its area of interest.

Screens

The list on the left holds every screen and aux. For the selected one: label, canvas width and height, kind, transition time; the outputs on this screen with each output’s rectangle on the canvas; the layers the screen has, with their kind (mixer, background, DSK) and capacity (SL, DL, 4K). Add and remove screens, outputs and layers here.

The canvas on the right draws the screen to scale with its outputs and, on top, the layers of one state:

  • Program as captured (and, on a LivePremier, Preview as captured, with the preset letter that was at that end of the T-bar): what the device was showing when the show was pulled or imported. Read-only.
  • any preset that targets this screen, which you can edit. Drag a layer to move it, drag the corner handle to resize it. The table under the canvas has the same rectangles as numbers, plus source, visibility, opacity and border, and the background.

A screen that has no captured state and is targeted by no preset draws nothing; pick a preset on the Presets tab and add the screen to it.

Presets

Presets lists every preset (Event Master) or screen memory (Analog Way) with the screens it targets. For the selected one: number, label, notes, and the targets, one block per screen, each with its background and its layers. Add a screen to a preset, remove one, or edit the layers here or on the Screens canvas.

Master presets are recalled as a set: one preset per screen. On an Event Master a preset that targets several destinations is shown as one preset; on a LivePremier a master memory is one of these.

Recall on a device. When a device of the show’s platform is known (see Devices), the selected preset can be recalled on it: Recall on recalls it on every screen it targets, Recall → on one; to program puts it straight on air instead of into preview; TAKE transitions every screen. A master preset has its own Recall. Each of these writes to a live device and says so in the toast.

Multiviewers

Every multiviewer output, with its layouts. For the selected multiviewer: label and output. For each layout: label, size, and the windows. Make grid fills a layout with an even grid of windows; Set active marks the layout the device should show. Click a window on the canvas to edit its source and UMD label; drag to move it, the corner handle to resize.

Cues

An Event Master keeps cues on the frame and they come in with the backup. A LivePremier has no cue list; its sequencing lives in Companion or a timeline tool. A cue is a list of steps: Recall preset, Recall master, Take, Wait, Other, each with a delay in milliseconds and, where it applies, the preset or master it recalls. Cues are documented (as a time line and a table) and exported to Companion; they aren’t played from Showbook.

User keys and layer memories

Under the master presets, the Presets tab lists the show’s layer memories — what an Event Master calls user keys. One of them is a stored look for a single layer: its source, position, size, crop, border, opacity and the rest, applied to whichever layer the operator picks rather than to the layer it was saved from. An Event Master can also bind a user key to a source, so the look follows that source onto any layer; the table shows what it’s bound to.

The table gives the slot number, the name (editable), how much the memory covers and the canvas it was saved on, because a look saved on a 1920x1080 screen lands somewhere else on a 3840x2160 one. A LivePremier keeps 50. A Midra 4K, an Alta 4K and a LiveCore have no such bank at all, and the conversion report tells you so when a show moves.

Documents & export

Documentation: a cover with the production details; the chassis as a frame map (a square per connector, coloured by what the show puts on it); the signal flow from inputs through the destinations to the outputs; the patch tables; every destination at one scale and then one page each with its outputs and captured layers; every preset drawn to scale and a matrix of which preset touches which destination; cues on a time line; multiviewer layouts; a glossary of what the settings mean; the notes the importer left; and the version history.

Choose a format, a theme and, for a PDF, the paper:

Format What you get
PDF A4 or US Letter, paged, for printing and sending.
Web page One self-contained .html file — no server, nothing loaded from the internet — with a contents list, a box that filters every table as you type, and a print stylesheet that starts each section on a new page, so a browser prints it to PDF.
Theme For
Light White paper, blue accent. The default.
Dark The app’s own colours, for reading on a screen at the desk.
Ink saver Black on white, outlines instead of fills, for photocopies and cheap printers.
High contrast Larger type, strong rules, for reading under a work light.
Classic Serif type on warm paper, for a printed show book.

Tick what to include, say who it’s prepared for and by, then Save PDF… or Save Web page…. Unsaved edits are included; the history table shows saved versions only.

Test patterns: one PNG per output at the output’s own raster, labelled with the output, its connector, the screen it belongs to and its position on the canvas, with arrows pointing at its neighbours; and one PNG per screen showing the whole canvas with every output’s region. Three patterns: Alignment (grid, centre, safe areas), Grid, and 75% bars over grid. Render PNGs to a folder… and play them from a media server or a laptop to prove the patch before content arrives.

Companion page: see Companion.

Showbook JSON: the show as one file, for another Showbook or for a script.

Vendor files

The files the show came from, byte-exact: an Event Master backup archive, a LivePremier .awc, a saved device store. Each is listed with its kind, size, hash and when it was captured, and can be exported. You restore an Event Master backup onto a frame from the Event Master Toolset (Configuration → Restore), using the archive exported from here.

The LivePremier Plus configuration

A rig is two halves. The .awc restores the processor (inputs, outputs, screens, memories), and holds nothing at all about the surface driving it. On a LivePremier that surface is often LivePremier Plus: the cue stack, the layer groups, the layer names, the patch to the external routers. Restore the .awc on its own and the show comes back with no cue list, which is the sort of thing you tend to find out at the worst possible moment.

So Showbook keeps the other half beside it. Export it from LivePremier Plus (its own Setup → Configuration, or GET /__lpp/config?download=1) and Attach a configuration… here. It’s kept like a vendor file (content-addressed, versioned with the show, carried by Sync and by Duplicate), and the panel shows what’s in it: which device it was written against, and how many cues, groups, names, patch entries and routers.

An import puts the device-keyed sections back under whichever device you point LivePremier Plus at, so a show built on one frame restores onto a backup frame at another address. The app settings (the console language, the OSC port and bind) are not applied unless you ask for them, because a restore shouldn’t close a port a lighting desk is sending to.

Export both halves as one file

Export a bundle… writes a .showbook file: the model, every vendor file exactly as the device wrote it, and the LivePremier Plus configuration. This is the one to keep and the one to send someone. Showbook imports it whole (drop it on the library like any other show file), and the .awc inside is untouched, so you can always pull it out and hand it to the Web RCS on its own.

Export one .awc with the configuration… goes a step further: it puts the configuration inside the .awc, so a single file restores both halves and Showbook doesn’t need to be on the machine at all. A LivePremier takes it just as it takes its own file (see docs/NOTES.md for the measurements). There’s one catch, and it’s why this is the option rather than the default: the device doesn’t keep it. An .awc exported from the Web RCS afterwards won’t contain the configuration. Treat an embedded file as something you hand out, not as your backup. Checked on LivePremier firmware 6.2.73; Midra 4K and Alta 4K are untested.

History

Every version, newest first, with its message, author, time and a summary. Select one to see what changed since the version before it: added, removed and changed entries, keyed by what they are. Restore makes any version the current one; the restore is itself a new version, so nothing is lost.

Devices

Devices holds the switchers Showbook can talk to. Add one with a name, its platform and its address:

  • Event Master: the frame’s IP. The JSON-RPC API is on port 9999.
  • LivePremier, Midra 4K, Alta 4K: the Web RCS host, with a port if it isn’t 80 (the simulators use 3000, 3010 and 3021). AWJ is assumed on port 10606 of the same host.

Probe asks the device who it is and shows the answer.

Pull the show from the device reads the running configuration into a new show, or into an existing show of the same platform as a new version.

  • keep the vendor file also downloads the .awc (LivePremier) or the backup archive (Encore3) and keeps it with the show.
  • deep capture memory layers (Analog Way) recalls every memory into the preview of every screen in turn to read its layers, because the device store carries a memory’s name and not its content. This writes to the device’s preview buffers. It asks before it starts. Don’t run it during a show.

Push a show to the device (LivePremier, Midra 4K and Alta 4K only):

  • labels writes the screen, input, output and memory labels over AWJ.
  • restore the .awc uploads the show’s .awc, has the device extract it, and applies it. The device reboots. The push asks before it starts, and the log under the button shows each step.

An Event Master has no API for writing configuration. Recall presets and cues from the Presets tab; restore a backup archive from the Event Master Toolset.

Convert

Convert makes a show for a different switcher. Pick the source show, the target platform and the model. Preview the report shows what would happen without writing anything; Convert and save creates the converted show in the library, with the report kept in its notes; Open the converted show takes you to it.

The panel on the right shows what the target model holds (screens, auxes, inputs, outputs, layers in 4K-equivalents, presets, masters, layer memories, the aux bank, multiviewers) and what the show needs. The report has three levels:

  • carried means it came across as it was;
  • adapted means it came across in the nearest form the target has: an Event Master preset that targets three destinations becomes three screen memories and a master memory on a LivePremier, and three memories with a master become one multi-destination preset going the other way; a user key becomes a layer memory; layer capacities are re-costed (a 4K layer is two DL or four SL); ids are re-spelled in the target’s own numbering; test patterns are reset because the pattern names differ;
  • dropped means it has no home on the target: screens beyond the model’s count, layers beyond its capacity, multiviewers it doesn’t have, layer memories where the target has no layer bank, the source vendor file.

What answers to what

The families store the same handful of ideas under different names and in different shapes, as switcher manufacturers will. These are the pairs the conversion works to. Every slot count below was read from the device’s own store, on the LivePremier, Midra 4K and Alta 4K simulators.

Idea Event Master LivePremier Midra 4K / Alta 4K
a destination’s whole state preset, and one preset may hold several destinations at once screen memory, exactly one screen; auxiliaries share the bank (1000) screen memory (200) and a separate aux memory bank (200)
recalling several destinations together the preset itself master memory naming a memory per screen (500) master memory (50)
a stored look for one layer user key — a file under xml/userkey/, applied to a layer, and bindable to a source so the look follows it layer memory — the layer bank, 50 slots none; a look travels inside a screen memory
a stored keyer setup part of the user key keyer memory, 50, saved per input none
stored multiviewer layouts the layouts on the multiviewer itself one live and 50 in the multiviewer bank one live and 20 in the bank
a sequence cue on the frame none — Companion or a timeline none

So a preset that touches three destinations becomes three memories and a master memory going one way, and collapses back into one preset going the other. A user key and a layer memory are the same object with two names, and moving one to a Midra 4K drops it, with its name written into the show’s notes. An auxiliary memory is counted against the aux bank on a Midra 4K rather than the screen bank, so a show with 150 screen and 150 auxiliary memories fits where it would otherwise read as over capacity. And multiviewer layouts past the live one become multiviewer memories instead of being thrown away.

A memory read from a device bank is a name, the property groups it covers and the canvas it was saved on, and the values themselves live on the hardware. Those slots convert as empty and have to be saved again on the target, and the report says so.

The chassis, cards and connectors are the target model’s. Inputs and outputs keep their labels and formats and need patching to the target’s connectors on the Patch tab.

Sync

Sync mirrors the library with somewhere else. It’s a two-way mirror that never deletes: a file that is newer on one side is copied to the other, and a file missing on one side is copied there.

  • A folder: any folder, such as the Dropbox, OneDrive or Google Drive desktop client’s folder, a NAS or a USB stick. No account needed.
  • Dropbox / Google Drive / OneDrive (API): over the drive’s own API, for a machine without the desktop client. Each needs an app registration of your own (a Dropbox App Console app, a Google Cloud OAuth client of type Desktop, or a Microsoft Entra app with a public client and the loopback redirect), and its client id (and, for Google, client secret) goes in the fields. Connect opens the provider’s sign-in page in your browser and waits for it to return to http://127.0.0.1:<port>/callback. Tokens are kept in the settings file; Refresh token renews them when the provider’s expire.

Sync both ways, Push only and Pull only run it, and the toast reports what moved.

Companion

Documents & export → Companion page writes a Bitfocus Companion page: a TAKE per screen and one button per preset (and master memory on Analog Way, cue on Event Master), wired to the barco-eventmaster or analogway-awj module. Fill in the connection label and the device address the module will use, tick what to include, and Export page….

In Companion: Import / Export → Import, choose the file, pick the page to put it on. Companion offers to create the connection the page names or to map it onto one you already have; set its address on the Connections page if you didn’t fill it in here.

Read a page back… reads a page exported from Companion and checks which of its buttons still match this show (a preset that was renumbered, a cue that no longer exists), so you can check a page built for last year’s show against this year’s.

What has been checked

Part Checked against Not yet
Event Master store, backup archives Encore3 10.0.2 and E2 9.2 simulator stores; a packed E3Backup.tar.gz round trip a real frame’s backup; any preset or cue file
Event Master live (JSON-RPC, /api/backup) Barco’s API guide and the Bitfocus module’s use of it a request answered by a frame — the simulators do not serve the API
LivePremier store, REST, AWJ, .awc LivePremier simulator 6.2.73: store, REST recalls, .awc download → upload → extract, AWJ reads and writes a physical Aquilon; apply of an .awc (reboots); deep capture
Midra 4K / Alta 4K Pulse 4K 3.2.29 and Zenith 200 1.3.7 simulator stores, read live writes and REST recalls on either
Layer memories (LivePremier layer bank) one saved on the Aquilon C max simulator over AWJ and read back: label, the 14 property groups and the canvas a layer memory’s values — the device does not put them in the bank
User keys (Event Master) the parser, against files shaped like the store’s own layers any real user key file — neither simulator had one saved
Conversion, Companion export, documentation (PDF and web page, every theme), test patterns, library, history, folder sync unit tests; both formats read page by page from the browser demo, and a PDF and a pull produced from the running desktop app a page imported into a running Companion; the web page printed to paper from a browser
Dropbox, Google Drive, OneDrive the providers’ API references a live account

showbook-lite, in a browser

showbook-lite.stoatworks-labs.com is the same application built for a browser tab: the Rust parsers, the conversion and the Companion export run as WebAssembly on your machine, and the library (shows, their versions, their vendor files) lives in that browser’s own storage. Nothing is uploaded anywhere. Import takes a file picker, every export is a download (the test patterns arrive as one zip), and the two simulator captures can be loaded from the empty library to try it.

What it leaves out is what a browser can’t do: there is no Devices page (no pull, push, recall or TAKE) and no Sync page. Clearing the site’s data clears the library, so export a show as JSON to keep it elsewhere; the desktop app keeps its library as plain files.

Running it from source

npm install
npm run app          # tauri dev
npm run app:build    # release bundle for this platform

npm run dev alone serves the front end to a browser tab with two simulator captures in memory. Every screen works, but files and devices need the desktop app.

This guide lives in the project's own repository and is rebuilt from it, so corrections are welcome as a pull request against docs/USER-GUIDE.md. Last updated 12 October 2026.