removeFromQueue
Spicetify.removeFromQueue removes tracks from the queue. Without a uid, it removes every queued copy of the uri.
function removeFromQueue(uri: ContextTrack[]): Promise<void>;| Parameter | Type | Description |
|---|---|---|
uri | ContextTrack[] | The tracks to remove. |
await Spicetify.removeFromQueue([{ uri: 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' }]);