aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
3.57k stars 163 forks source link

`spotify_player authenticate` error message #312

Closed liiyung closed 11 months ago

liiyung commented 11 months ago

Not so much a bug and more of a support request. Trying to run for the first time with spotify_player authenticate, I get the error message :

Error: try to connect to a client

Caused by:
    No cached credentials found, please authenticate the application first.

I have no idea which folder this is scanning from, nor what cached credentials it is looking for. I've created an app with Spotify, and used the generated client ID in .config/spotify-player/app.toml. I may have missed something in the documentation, but I think this is all I need?

Environment

aome510 commented 11 months ago

HI @liiyung, this is a bug when handling CLI commands. I'll put up a fix soon. In the meantime, you can authenticate the app and create cached credentials by just running spotify_player.

liiyung commented 11 months ago

I ran spotify_player and I think it's currently working. Thanks for the quick workaround!

Viranchee commented 11 months ago

I enter my credentials but it fails to authenticate.

My username in regex search: [a-zA-Z0-9] Password Regex: [a-zA-Z0-9]