create-playlist
Create a Foundry Virtual Tabletop playlist from a list of sound file paths, with options for playback mode, volume, repeat, and fade.
Instructions
Create a Foundry Playlist from a list of Data-relative sound paths (e.g. ones just returned by upload-asset). Modes: sequential, shuffle, simultaneous, soundboard. GM-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fade | No | Crossfade duration in milliseconds (optional). | |
| mode | No | Playback mode (default sequential). | sequential |
| name | Yes | Playlist name. | |
| repeat | No | Whether each track loops (default false). | |
| soundPaths | Yes | Data-relative paths to the sound files, in order. | |
| defaultVolume | No | Volume 0–1 applied to each track (default 0.5). |