jellyfin_library_add_path
Add a folder to a Jellyfin library by specifying host, library, and path. Translates host/container paths, optionally scans, and runs as a dry-run plan before applying.
Instructions
Add a folder to an existing Jellyfin library. The folder may be given as a host path (translated through the Jellyfin container mounts) or as the path inside the container; it must exist on both sides. Optionally scans the library afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | host name from the inventory that has apps.jellyfin / apps.tdarr | |
| path | Yes | folder, absolute (host or container path) | |
| scan | No | ||
| apply | No | false (default) = dry run: show what will happen on which hosts and a planHash. true = run it; needs planHash | |
| library | Yes | library name as in jellyfin_status | |
| planHash | No | planHash from the dry run of the very same call, good for one apply; refused if targets or their state changed since |