encoder: Add date text support in encoder command
All checks were successful
/ deploy (push) Successful in -2040h37m40s
All checks were successful
/ deploy (push) Successful in -2040h37m40s
This commit is contained in:
parent
91e7395046
commit
d714a56db3
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ class EncoderManager {
|
||||||
}
|
}
|
||||||
command = command.replace('-f decklink ', `${settings.format_code} -f decklink ${settings.device} `)
|
command = command.replace('-f decklink ', `${settings.format_code} -f decklink ${settings.device} `)
|
||||||
}
|
}
|
||||||
|
command = command.replace('$date$', new Date().toISOString().replace('T','_').replace(/:/g,'').split('.')[0])
|
||||||
|
|
||||||
let process = await runCommand('', command, this.fromEncoder.bind(this), true)
|
let process = await runCommand('', command, this.fromEncoder.bind(this), true)
|
||||||
this.attempting.value = process
|
this.attempting.value = process
|
||||||
|
|
Loading…
Reference in a new issue