clean_unused_media
Removes unused media from a Premiere project after you review the report: saves a checkpoint, rechecks usage, deletes unused items and empty bins, then moves files to the macOS Trash so Put Back stays available.
Instructions
Act on a review_unused_media report after the user has read it: saves a checkpoint of the project, checks usage again right now (anything used since the report is skipped), removes the unused items from the Premiere project (plus bins left empty by it) and saves, then moves the unused files to the macOS Trash with Finder (Put Back works; nothing is deleted for good — the user empties the Trash). confirm must be true. Needs Finder automation permission the first time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | Report path returned by review_unused_media | |
| confirm | Yes | Must be true: the user has checked the report | |
| trashFiles | No | Move the unused files to the Trash (default true) | |
| removeFromProject | No | Remove the unused items from the project (default true) |