khanhas / Spicetify

Spice up your Spotify client
GNU General Public License v3.0
797 stars 72 forks source link

Can't add local tracks to queue #103

Open finaltransmit opened 5 years ago

finaltransmit commented 5 years ago

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

khanhas commented 5 years ago

Hi!. Thank for reporting this critical issue. I fixed this bug in "spicetify-cli". I'm no longer maintaining this repo because I can't spend time on both "Spicetify" for Rainmeter and "spicetify-cli". "spicetify-cli" supports more platforms and it's easier for me to add new features. You can try it if you want:

  1. In Spicetify for Rainmeter skin, hit Restore and Delete Backup
  2. Open Powershell and run:
    iwr https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.ps1 | iex
  3. In Powershell, follow these step: https://github.com/khanhas/spicetify-cli#basic-usage
finaltransmit commented 5 years ago

Awesome, thanks for the quick fix. I suggest making it more clear in the readme.md that this project is deprecated and spicetify-cli is the successor. From the wording in the readme it sounds like spicetify-cli is just for linux and mac