filo_caspar/api/casparcg/status.mjs

5 lines
144 B
JavaScript

import { currentStatus } from './client.mjs'
export async function casparStatus(ctx) {
ctx.socket.emit('casparcg.status', currentStatus())
}