Film kit command

trim.tick

Advance Trim Playback

Advances a dynamic trim or Play Around Edit to playback time `clock` (seconds) and answers the trim status; the host calls it while playing.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

Parameters of trim.tick
NameTypeRequiredDescription
clocknumbernoseconds

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "trim.tick" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: clock. film_run answers the step’s result in completed[i].result.

Result

Result of trim.tick
NameTypeRequiredDescription
dynamicanyno
playheadintegerno
playingbooleanno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "dynamic": {},
    "playhead": {
      "type": "integer"
    },
    "playing": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "clock": {
      "description": "seconds",
      "type": "number"
    }
  },
  "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.