Hi all
i am trying to use the scheduleSet command in cacsparcg connection.
const {CasparCG} = require('casparcg-connection')
var CCG1 = new CasparCG({'host': '192.168.100.5'})
CCG1.scheduleSet('08:58:30:00', CCG1.play(1,1,'wipe'))
this is wrong (clip start directly) can any one give a clue what needs to be the 2nd argument in this command. thanks in front Maurice
Think that only works with the NRK fork - you using it?
Yes, the scheduling of commands only works with the NRK fork, found here:
I am using the NRK fork that’s why i asked
When you do the CCG1.Play(
that is sending a play, and you are trying to schedule the result of that play.
The following should work. I havent tested it, so the names may be a little off but hopefully it works.
const {CasparCG, AMCP} = require('casparcg-connection')
var CCG1 = new CasparCG({'host': '192.168.100.5'})
CCG1.scheduleSet('08:58:30:00', new AMCP.PlayCommand({ channel: 1, layer: 1, clip: 'wipe' }))
1 Like