Sofie: The Modern TV News Studio Automation System (MOS Connection library)
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci chore: CI: change git user to superflytvab Jun 15, 2018
.github init Feb 23, 2018
.vscode chore: VSCode - jest debug launch script Jun 5, 2018
config fix: relative path fix Feb 24, 2018
examples Fix: removed .isListening in favor for .init(), to correctly handle p… May 4, 2018
integrationTests feat(Jest): Adds spesific integratinTests that's excluded in normal u… Feb 24, 2018
src fix: added _lingeringMessage, to allow heartbeat replies to come thro… Oct 11, 2018
.editorconfig
.gitignore Merge branch 'master' into develop Jun 11, 2018
.npmignore
CHANGELOG.md chore(release): 0.6.2 [skip ci] Oct 11, 2018
CHANGES.md fix: improve changes.md Jun 5, 2018
CONTINGENCY.md fix: Add build status badge and documentation May 26, 2018
LICENSE fix: correction to license May 31, 2018
README.md Update README.md Sep 19, 2018
jest-integration.config.js fix: activate codecoverage May 24, 2018
jest.config.js
package.json chore(release): 0.6.2 [skip ci] Oct 11, 2018
tsconfig.jest.json fix: Resolve script problems Feb 24, 2018
tsconfig.json
tslint.json feat: Update project structure Feb 24, 2018
yarn.lock

README.md

Sofie: The Modern TV News Studio Automation System (MOS Connection library)

CircleCI

Library for connecting to a MOS device using the MOS Protocol.

This is a part of the Sofie TV News Studio Automation System.

Getting started

import { MosConnection } from 'mos-connection'

let mos = new MosConnection(new ConnectionConfig({
	mosID: 'my.mos.application',
	acceptsConnections: true,
	profiles: {
		'0': true,
        '1': true,
        '2': true,
        '4': true
	},
	openRelay: true
	debug: false
}))
mos.onConnection((device: MosDevice) => { // called whenever there is a new connection to a mos-device
	if (device.hasConnection) { // true if we can send messages to the mos-server
	    device.getMachineInfo().then((lm) => {
			console.log('Machineinfo', lm)
		})
	}
	// Setup callbacks to pipe data:
	device.onGetMachineInfo(() => {})
	device.onCreateRunningOrder((ro) => {})
	device.onDeleteRunningOrder((RunningOrderID: MosString128) => {})
	device.onReadyToAir(() => {})
	// ...
})

Development status:

Basic connections

Working in dev environment

Profile 0

  • Implemented

Profile 1

  • Implemented

Profile 2

  • Implemented

Profile 3

  • Not started

Profile 4

  • Implemented

Profile 5

  • Not started

Profile 6

  • Not started

Profile 7

  • Not started