New configSchema type 'endpoint' declared in the module spec: anything
that points at a device or service on the network must be one endpoint
field, rendered identically for every module in /admin as a joined
Host/IP : Port control and stored/handed to the module server as
{ host, port }. Migrates all three connection modules — ProdCom (was a
full URL field), ProPresenter and Timers (were separate host + port
fields). Legacy stored configs (prodcomUrl / flat host+port) keep
working until the admin form is re-saved, at which point the new shape
replaces them. MODULE-GUIDE documents the type and the presentation
rule: no split host/port fields, and full URLs only for genuine web
addresses.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RNYUv9EyrGSFmCnmH7WYKH
29 lines
925 B
JSON
29 lines
925 B
JSON
{
|
|
"id": "propresenter-now-next",
|
|
"name": "ProPresenter",
|
|
"version": "1.0.0",
|
|
"description": "What is live in ProPresenter and what comes next",
|
|
"client": "client.js",
|
|
"server": "server.js",
|
|
"style": "style.css",
|
|
"minSize": { "w": 3, "h": 3 },
|
|
"defaultSize": { "w": 4, "h": 5 },
|
|
"configSchema": {
|
|
"propresenter": {
|
|
"type": "endpoint",
|
|
"label": "ProPresenter",
|
|
"default": { "host": "", "port": 1025 }
|
|
},
|
|
"password": {
|
|
"type": "password",
|
|
"label": "API password (only if set in ProPresenter)",
|
|
"default": ""
|
|
}
|
|
},
|
|
"instanceSchema": {
|
|
"showPlaylist": { "type": "boolean", "label": "Show the playlist name", "default": true },
|
|
"showProgress": { "type": "boolean", "label": "Show the slide progress bar", "default": true },
|
|
"cleanTitles": { "type": "boolean", "label": "Tidy titles (hide [ Full ] tags and date codes)", "default": true }
|
|
}
|
|
}
|