Envoy49/go-spotify-cli

Error: No devices available. Please activate at least one device.

Closed this issue · 4 comments

After creating an app on Spotify and successfully receiving the token and secret (verified in .yaml), I get an error when trying to play a track or list the devices.

The README does not tell how to activate a device.

> go-spotify-cli device
No devices available. Please activate at least one device.
> go-spotify-cli play
No devices available. Please activate at least one device.

The official Spotify GUI client works fine on my machine. (macOS Sonoma)

Thanks for the feedback @christophberger .
This error means that no device is available for spotify to play any track, where ClientId and ClientSecret used to execute any command doesn't have any GUI to communicate with.
I believe the error message should be improved in this case but that is not an issue in this case
Could you please verify that it is indeed the correct account.
Also it can be verified on mobile phone for example.
I tested this functionality many times and had this error message only when the GUI Application was completely closed, which means that it has to be manually opened.

This issue will be closed within one week after inactivity.

@Envoy49 Add an additional step in the configuration menu "Start the Spotify app on the device on your choice" to make it more straightforward.

Could you please verify that it is indeed the correct account.

This. For some reason, I was logged into an old Spotify developer account that had nothing to do with my Spotify user account.

After fixing this, I see my computer as a playback device. Thanks for reminding me to double-check the account.