Film kit command
marker.addRange
Add Range Marker
Adds a range marker starting at the playhead or `time` (or `frame`, `seconds`, `timecode`), `durationFrames` or `durationSeconds` long (1 second by default) or `duration` ticks.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
color | string | no | marker colour (Red, Orange, Yellow, Green, Cyan, Blue, Purple) or label name (Violet, Iris, …)? |
comment | string | no | |
duration | integer | no | ticks (254016000000 per second) |
durationFrames | integer | no | default 1s |
durationSeconds | number | no | |
frame | integer | no | |
name | string | no | |
seconds | number | no | |
time | integer | no | ticks (254016000000 per second) |
timecode | string | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "marker.addRange" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: color, comment, duration, durationFrames, durationSeconds, frame, name, seconds, time, timecode. film_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"color": {
"description": "marker colour (Red, Orange, Yellow, Green, Cyan, Blue, Purple) or label name (Violet, Iris, …)?",
"type": "string"
},
"comment": {
"type": "string"
},
"duration": {
"description": "ticks (254016000000 per second)",
"type": "integer"
},
"durationFrames": {
"description": "default 1s",
"type": "integer"
},
"durationSeconds": {
"type": "number"
},
"frame": {
"type": "integer"
},
"name": {
"type": "string"
},
"seconds": {
"type": "number"
},
"time": {
"description": "ticks (254016000000 per second)",
"type": "integer"
},
"timecode": {
"type": "string"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.