Current track of the queue.
Previous tracks of the queue.
ReadonlyplayerThe player instance.
Tracks of the queue.
ReadonlyutilsThe queue utils instance.
Get the track size of the queue.
The track size of the queue.
Get the total track size of the queue (Includes the current track).
The total track size of the queue.
Add a track or tracks to the queue.
The track or tracks to add.
Optionalposition: numberThe position to add the track or tracks.
The queue instance.
Get the previous track of the queue.
Optionalremove: boolean = falseWhether to remove the track from the previous queue.
The previous track of the queue.
Get the first track of the queue.
The first track of the queue.
Delete tracks from the queue.
The start index.
The number of tracks to delete.
Optionaltracks: TrackResolvableStructure | TrackResolvableStructure[]The tracks to add.
The queue instance.
Class representing a queue. Queue