Queue
Control playback order, manipulate the queue, and react to track changes in Nuclear.
Queue API for Plugins
Core concepts
Queue structure
type Queue = {
items: QueueItem[]; // Ordered list of tracks
currentIndex: number; // Position of currently playing item (0-based)
repeatMode: RepeatMode; // 'off' | 'all' | 'one'
shuffleEnabled: boolean; // Random navigation when true
};Queue items
Repeat modes
Shuffle
Quick start
Reference
Best practices
Troubleshooting
Symptom
Cause
Fix
Last updated