addToQueue
Spicetify.addToQueue adds tracks to the end of the queue. Unlike Platform.PlayerAPI.addToQueue, it shows no notification.
function addToQueue(uri: ContextTrack[]): Promise<void>;| Parameter | Type | Description |
|---|---|---|
uri | ContextTrack[] | The tracks to add. |
await Spicetify.addToQueue([{ uri: 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' }]);