Film kit command
state.inspect
Inspect Editor State
Reads the editor state: active sequence, playhead, selections (clips, captions, project items, edit points), targeting, In/Out and toggles like snapping and linked selection.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- no
Parameters
None.
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "state.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
| Name | Type | Required | Description |
|---|---|---|---|
active_sequence | integer | no | |
caption_selection | any[] | no | |
clip_mixer_modes | object | no | |
copy_paste_sequence_markers | boolean | no | |
default_audio_transition | string | no | |
default_video_transition | string | no | |
edit_points | any[] | no | |
find | any | no | |
graphic_layers | any[] | no | |
hidden_marker_colors | any[] | no | |
linked_selection | boolean | no | |
multicam_audio_follows_video | boolean | no | |
multicam_view | object | no | |
open_sequences | integer[] | no | |
playheads | object | no | |
project_selection | any[] | no | |
ripple_sequence_markers | boolean | no | |
selected_mask | any | no | |
selection | any[] | no | |
selection_follows_playhead | boolean | no | |
sequences_as_clips | boolean | no | |
show_through_edits | boolean | no | |
snapping | boolean | no | |
source_item | any | no | |
source_playhead | integer | no | |
targeting | object | no | |
timeline_views | object | no | |
trim_shift | object | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"active_sequence": {
"type": "integer"
},
"caption_selection": {
"items": {},
"type": "array"
},
"clip_mixer_modes": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"copy_paste_sequence_markers": {
"type": "boolean"
},
"default_audio_transition": {
"type": "string"
},
"default_video_transition": {
"type": "string"
},
"edit_points": {
"items": {},
"type": "array"
},
"find": {},
"graphic_layers": {
"items": {},
"type": "array"
},
"hidden_marker_colors": {
"items": {},
"type": "array"
},
"linked_selection": {
"type": "boolean"
},
"multicam_audio_follows_video": {
"type": "boolean"
},
"multicam_view": {
"additionalProperties": true,
"properties": {
"autoQuality": {
"type": "boolean"
},
"layout": {},
"page": {
"type": "integer"
},
"showPreview": {
"type": "boolean"
},
"topDown": {
"type": "boolean"
},
"transmit": {
"type": "boolean"
}
},
"type": "object"
},
"open_sequences": {
"items": {
"type": "integer"
},
"type": "array"
},
"playheads": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"project_selection": {
"items": {},
"type": "array"
},
"ripple_sequence_markers": {
"type": "boolean"
},
"selected_mask": {},
"selection": {
"items": {},
"type": "array"
},
"selection_follows_playhead": {
"type": "boolean"
},
"sequences_as_clips": {
"type": "boolean"
},
"show_through_edits": {
"type": "boolean"
},
"snapping": {
"type": "boolean"
},
"source_item": {},
"source_playhead": {
"type": "integer"
},
"targeting": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"timeline_views": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"trim_shift": {
"additionalProperties": true,
"properties": {
"inShift": {
"type": "integer"
},
"outShift": {
"type": "integer"
}
},
"type": "object"
}
},
"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.