photos_import
Import photos/videos from /DCIM or device path into Photos.app, returning the local identifier via PhotoKit.
Instructions
[advanced] PhotoKit import already-on-device file (devicePath or remotePath under /DCIM). Host=Photos.app only. Returns localIdentifier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | ||
| mediaType | Yes | ||
| devicePath | No | /var/mobile/Media/DCIM/... | |
| remotePath | No | /DCIM/100APPLE/... | |
| terminateAfter | No | Default true — kill Photos after import (sqlite friendly) |