Control playlist playback
control-playlistControl Foundry VTT playlist playback: play, stop, or cycle mode for a playlist or individual track, syncing all connected browsers. Requires exact id or name and create/change permission.
Instructions
Play or stop a playlist or one of its tracks, or switch its mode, through Foundry's own playback, so every connected browser follows. Playlist and track are found by id or exact name (case ignored when unique), never by a part of the name. The state is read back: a playlist without tracks or in mode "disabled" is an error, not a silent success. Browsers may only play sound after someone clicked on the page once. Needs the playlist permission "create and change".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sound | No | Track for play-sound and stop-sound, required there: id or name. Not for other commands. | |
| command | Yes | play the playlist as its mode says, stop all its tracks, cycle-mode to the next mode, or play-sound and stop-sound for one track. | |
| playlist | Yes | Id or name of the playlist. |