Film kit command

source.setPlayhead

Set Source Playhead

Moves the Source monitor playhead to `time` ticks, `frame` (source frame) or `seconds`. Needs a clip open in the Source monitor.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of source.setPlayhead
NameTypeRequiredDescription
frameintegernoone of several alternative parameters
secondsnumbernoone of several alternative parameters
timeintegernoticks (254016000000 per second); one of several alternative parameters
timecodestringnothe time, as a timecode (one spelling of it)

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: frame, 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": {
    "frame": {
      "description": "one of several alternative parameters",
      "type": "integer"
    },
    "seconds": {
      "description": "one of several alternative parameters",
      "type": "number"
    },
    "time": {
      "description": "ticks (254016000000 per second); one of several alternative parameters",
      "type": "integer"
    },
    "timecode": {
      "description": "the time, as a timecode (one spelling of it)",
      "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.