When calling Spicetify.addToQueue with a local song uri of the form spotify:local:Foo
an error is reported and the song is not added to the queue.
Code snippet that causes this:
} else if (uri.type === Spicetify.LibURI.Type.TRACK || uri.type === Spicetify.LibURI.Type.EPISODE) { this.queueTracks([uri], callback) } else { console.log("Spicetify.addToQueue: Only Track, Album, Episode URIs are accepted") }
line 132924 in formatted zlink.bundle.js
Local song uris are valid and playable and should therefore be able to be added to the queue
When calling
Spicetify.addToQueuewith a local song uri of the formspotify:local:Fooan error is reported and the song is not added to the queue.
Code snippet that causes this:
} else if (uri.type === Spicetify.LibURI.Type.TRACK || uri.type === Spicetify.LibURI.Type.EPISODE) { this.queueTracks([uri], callback) } else { console.log("Spicetify.addToQueue: Only Track, Album, Episode URIs are accepted") }line 132924 in formatted zlink.bundle.js
Local song uris are valid and playable and should therefore be able to be added to the queue