Film kit command

sequence.deleteTracks

Delete Tracks

Deletes all empty video and/or audio tracks (`video`/`audio`: "empty") or one named track of each kind.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of sequence.deleteTracks
NameTypeRequiredDescription
audiointeger | stringnotrack id, V1/A1 ordinal, or empty to delete empty tracks
videointeger | stringnotrack id, V1/A1 ordinal, or empty to delete empty tracks

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: audio, video. 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": {
    "audio": {
      "description": "track id, V1/A1 ordinal, or empty to delete empty tracks",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-types": [
        "Track"
      ]
    },
    "video": {
      "description": "track id, V1/A1 ordinal, or empty to delete empty tracks",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-types": [
        "Track"
      ]
    }
  },
  "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.