import_media
FreeRuns at once; you can set it to Ask first
Same action in the terminal: capturemann import
Bring video, audio and picture files that CaptureMann did not record into the library as captures (a phone clip, a voice memo, a downloaded interview, a phone screenshot), so that the editor, transcript, speakers, reports, export,...
- Tier: Free, changes something: runs at once; the user can set it to Ask first. Confirm when remove_originals is true and dry_run is not true.
- Read-only: no
- CLI:
capturemann import - Spec: IMP-1 to IMP-4
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
paths | array of string | yes | Absolute paths of the files to import (files only, no folders). (min items 1, max items 200) | |
titles | array of string | no | One title per path, in order; an empty string keeps the default title: the file's own title tag (ID3 for an MP3), else the file name without its extension. | |
remove_originals | boolean | no | false | Move each original to the Trash after its copy is verified. Raises the call to Confirm tier: the user is asked on screen. |
dry_run | boolean | no | false | Only check the files and return their status; import nothing. |
after | object {transcribe, diarize, report_template} | no | ||
request_id | string | no | Idempotency key; a repeat within 24 h returns the first result. (min length 1, max length 256) |
Returns: job_id, state, captures, needed_bytes, files.
Errors: invalid_input, user_declined, confirmation_timeout, permission_missing, disk_full (plus the common errors above).
JSON
{"name": "import_media", "arguments": {"paths": ["/Users/me/Downloads/interview.m4a"], "after": {"transcribe": true}}}