Playlist cue
A group that fires what it holds one after another.
Settings
| Setting | What it does |
|---|---|
| Children | The cues nested under it, in the order they play |
| Loop | Whether the list starts again at the end |
| Plays | How many passes; 0 repeats forever |
| Collapsed | Whether the list shows its children |
How it runs
Starts the first enabled child; when that child ends on its own, the playlist starts the next. A child that never ends by itself — an image, say — holds the playlist there until something stops it.
Auto-follow on a child is ignored inside a playlist: sequencing is the playlist’s job. The playlist itself finishes at the end of its last pass, and its own auto-follow fires then.
Scripting
duration, plus three read-only properties of its own: index (which item is
playing, from 1), count (how many there are) and pass (which pass is in
flight, from 1). See properties.
let last = 0;
function onTick() {
const index = this.index.get();
if (index !== last && index !== 0) {
last = index;
log.info('now playing item', index, 'of', this.count.get());
}
}