Film kit command
metadata.set
Edit Metadata
Sets metadata `field` to `value` (or several `fields`) on project `item` or `clip`'s source; one undo step. Name renames the item and Label sets its color label.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
clip | integer | no | an id; in one of several forms of the parameters |
field | string | no | for example Name, Label, Description, Scene, Shot, Log Note, Comment, Tape Name, Client, Camera Angle; in one of several forms of the parameters |
fields | object | no | in one of several forms of the parameters |
item | integer | no | an id; in one of several forms of the parameters |
value | string | no | in one of several forms of the parameters |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "metadata.set" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: clip, field, fields, item, value. 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": {
"clip": {
"description": "an id; in one of several forms of the parameters",
"type": "integer",
"x-khp-types": [
"Clip"
]
},
"field": {
"description": "for example Name, Label, Description, Scene, Shot, Log Note, Comment, Tape Name, Client, Camera Angle; in one of several forms of the parameters",
"type": "string"
},
"fields": {
"additionalProperties": true,
"description": "in one of several forms of the parameters",
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"item": {
"description": "an id; in one of several forms of the parameters",
"type": "integer",
"x-khp-types": [
"Item"
]
},
"value": {
"description": "in one of several forms of the parameters",
"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.