owenthereal / spotctl

A command-line interface to Spotify, written in Go
MIT License
243 stars 16 forks source link

Error: Not available for the current user #6

Open ivours opened 6 years ago

ivours commented 6 years ago

Hi, I've downloaded Linux amd64 release and I get this error when trying to execute spotctl play.

spotctl-error

PD: I had Spotify app already running.

Any suggestions? Thanks!

owenthereal commented 6 years ago

@ivours What's the result of spotctl devices?

ivours commented 6 years ago

Thanks for your response, here is the result:

spotctl-devices

owenthereal commented 6 years ago

@ivours You can run with the full name of the device like spotctl play --device ivo-ThinkPad-X230. Alternatively you can just run spotify play which will run on the first device detected.

ivours commented 6 years ago

Still getting the same error, it's weird. Maybe I have to install the software in a different way? I'm actually running it from the file spotctl included in the archive linux-amd64-1.0.1.tar.gz (extracting it previously).

muygalan commented 6 years ago

@ivours Were you able to find a fix for this? I'm encountering the same issue, but on Windows 10.

ivours commented 6 years ago

Hi @muygalan ,

Nope, I wasn't able to find a fix for this, unfortunately :(

muygalan commented 6 years ago

@ivours My theory is this only works if you're a premium user. I cannot test this hypothesis because I'm a free user. Cheers.

hrdlnk commented 6 years ago

Same issue here on macOS. Also not a premium user. Probable cause: “With Connect Web API you can only control Spotify Premium users’ playback.”

etaletai13 commented 5 years ago

Makes sense really.