Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Can't add local tracks to queue #103

Open
finaltransmit opened this issue Mar 13, 2019 · 2 comments
Open

Can't add local tracks to queue #103

finaltransmit opened this issue Mar 13, 2019 · 2 comments

Comments

@finaltransmit
Copy link

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
Copy link
Owner

khanhas commented Mar 20, 2019

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
  1. In Powershell, follow these step: https://github.com/khanhas/spicetify-cli#basic-usage

@finaltransmit
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants