create_library_file
Add a media file to your Plex library by ingesting it from a URL or virtual path, with optional hash computation and storage of non-matching media.
Instructions
Ingest a transient item.
POST /library/file
Args: url: The file of the file to ingest. virtual_file_path: A virtual path to use when the url is opaque. compute_hashes: Whether or not to compute Plex and OpenSubtitle hashes for the file. Defaults to 0. ingest_non_matches: Whether or not non matching media should be stored. Defaults to 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| compute_hashes | No | ||
| virtual_file_path | No | ||
| ingest_non_matches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |