Film kit command

file.inspect

Inspect Project

Reads the whole project: bins and items with ids, kinds (media, sequence, generators), durations, frame rates and media paths. Read first to find item ids.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

None.

Call through film_run

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

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

Result

Result of file.inspect
NameTypeRequiredDescription
activeSequenceintegerno
dirtybooleanno
epochintegerno
namestringno
pathstringno
revisionintegerno
rootobjectno
safeAreasobjectno
sourceItemanyno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "activeSequence": {
      "type": "integer"
    },
    "dirty": {
      "type": "boolean"
    },
    "epoch": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "root": {
      "additionalProperties": true,
      "properties": {
        "children": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "duration": {
                "type": "integer"
              },
              "item": {
                "type": "integer"
              },
              "label": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "safeAreas": {
      "additionalProperties": true,
      "properties": {
        "action": {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        "title": {
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "sourceItem": {}
  },
  "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.