Film kit command

project.items

List Project Panel Rows

Lists the rows the Project panel shows for `bin` (default root; `recursive` for sub-bins), sorted, with each shown column's text.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

Parameters of project.items
NameTypeRequiredDescription
binintegernobinId?
orderstringnolike icon
recursivebooleanno

Call through film_run

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

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

Result

Result of project.items
NameTypeRequiredDescription
binintegerno
columnsobject[]no
rowsobject[]no
sortobjectno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "bin": {
      "type": "integer"
    },
    "columns": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "width": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "rows": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "cells": {
            "additionalProperties": true,
            "properties": {
              "Audio Info": {
                "type": "string"
              },
              "Description": {
                "type": "string"
              },
              "Frame Rate": {
                "type": "string"
              },
              "Media Duration": {
                "type": "string"
              },
              "Media End": {
                "type": "string"
              },
              "Media Start": {
                "type": "string"
              },
              "Name": {
                "type": "string"
              },
              "Tape Name": {
                "type": "string"
              },
              "Video Duration": {
                "type": "string"
              },
              "Video In Point": {
                "type": "string"
              },
              "Video Info": {
                "type": "string"
              },
              "Video Out Point": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "depth": {
            "type": "integer"
          },
          "duration": {
            "type": "integer"
          },
          "file": {
            "type": "boolean"
          },
          "frame": {
            "type": "integer"
          },
          "hasAudio": {
            "type": "boolean"
          },
          "hasVideo": {
            "type": "boolean"
          },
          "icon": {
            "type": "string"
          },
          "in": {},
          "info": {
            "additionalProperties": true,
            "properties": {
              "audioInfo": {
                "type": "string"
              },
              "frameRate": {
                "type": "string"
              },
              "mediaDuration": {
                "type": "string"
              },
              "videoInfo": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "item": {
            "type": "integer"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "matte": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "offline": {
            "type": "boolean"
          },
          "offlineText": {},
          "out": {},
          "poster": {},
          "proxy": {
            "type": "boolean"
          },
          "stamp": {
            "type": "string"
          },
          "start": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "usage": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "sort": {
      "additionalProperties": true,
      "properties": {
        "column": {
          "type": "string"
        },
        "descending": {
          "type": "boolean"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "bin": {
      "description": "binId?",
      "type": "integer",
      "x-khp-types": [
        "Bin"
      ]
    },
    "order": {
      "description": "like icon",
      "type": "string"
    },
    "recursive": {
      "type": "boolean"
    }
  },
  "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.