Release v2.12.0
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 2m6s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 33s

This commit is contained in:
lzstealth committed 2026-09-11 17:22:31 +01:00
1 parent bdb5ab4bac
commit 0a03cdd0b7
32 files changed
+2211 -18

No files matched your search

+12
View File
@@ -17,6 +17,7 @@ const { ensureFontLibrary } = require('#src/web/lib/media/font-library');
const { createRequestAuthHeaders } = require('#src/request-auth');
const { withClientNameReservation } = require('#src/data/client-name-check');
const { getConfiguredPlayerIdentifier, recordPlayerHeartbeat } = require('#src/data/player-registry');
const { createLocalControlService } = require('./player/local-control');
// Player runtime, media API, and websocket wiring.
@@ -94,6 +95,15 @@ async function start() {
const server = http.createServer(app);
playerRuntime.installWebsocket(server);
app.use(express.json());
const localControlService = createLocalControlService({
app: app,
server: server,
pool: pool,
playerRuntime: playerRuntime,
playerIdentifier: PLAYER_DEVICE_ID,
cachePath: path.join(MEDIA_DIR, 'player-cache', 'local-control-users.json'),
cacheMaxAgeMs: Number(process.env.LOCAL_CONTROL_CACHE_MAX_AGE_MS || 72 * 60 * 60 * 1000)
});
let hasLoggedPlayerStartup = false;
@@ -364,6 +374,8 @@ async function start() {
onPlayerPublicBaseUrl: setPlayerPublicBaseUrl
});
await localControlService.loadCache();
function createThinClientWebSocketUrl() {
if (!BRIDGE_PUBLIC_URL) {
return null;