Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-dewit committed Sep 9, 2024
1 parent 35f4b88 commit d6c9397
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
1 change: 0 additions & 1 deletion packages/quick-tsr/src/tsrHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
} from 'timeline-state-resolver'
import { ThreadedClass } from 'threadedclass'

import * as _ from 'underscore'
import { TSRSettings } from './index'

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ tsrConductor
.init()
.then(() => {
// Add devices to the TSR-conductor:
return tsrConductor.addDevice('casparcg0', {
type: DeviceType.CASPARCG,
options: {
host: 'localhost',
port: 5250,
return tsr.connectionManager.setConnections({

Check failure on line 17 in packages/timeline-state-resolver/examples/CasparcgVideoPlayES6example.js

View workflow job for this annotation

GitHub Actions / Lint (timeline-state-resolver)

'tsr' is not defined

Check failure on line 17 in packages/timeline-state-resolver/examples/CasparcgVideoPlayES6example.js

View workflow job for this annotation

GitHub Actions / Lint (timeline-state-resolver)

'tsr' is not defined
casparcg0: {
type: DeviceType.CASPARCG,
options: {
host: 'localhost',
port: 5250,
},
},
})
})
Expand Down
12 changes: 7 additions & 5 deletions packages/timeline-state-resolver/examples/playVideoInCaspar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ tsr.on('debug', (deviceId, cmd) => console.log('debug', deviceId, cmd))
const a = async function () {
await tsr.init()

await tsr.addDevice('casparcg0', {
type: DeviceType.CASPARCG,
options: {
host: '127.0.0.1',
// port: 5250
tsr.connectionManager.setConnections({
casparcg0: {
type: DeviceType.CASPARCG,
options: {
host: '127.0.0.1',
// port: 5250
},
},
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ tsr.on('error', (e) => console.log('error', e))
const a = async function () {
await tsr.init()

await tsr.addDevice('casparcg0', {
type: DeviceType.CASPARCG,
options: {
host: '127.0.0.1',
// port: 5250
tsr.connectionManager.setConnections({
casparcg0: {
type: DeviceType.CASPARCG,
options: {
host: '127.0.0.1',
// port: 5250
},
},
})

Expand Down

0 comments on commit d6c9397

Please sign in to comment.