Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.cached_device_id.txt and .spotify_token_cache.json files created in same directory as $ spotify-tui command #4

Closed
alichtman opened this issue Sep 17, 2019 · 3 comments

Comments

@alichtman
Copy link

I think these should be created in the config directory. If you run $ spotify-tui in a directory, and then move directories and do it again, it makes you reauth since it can't find the cached tokens.

@alichtman
Copy link
Author

Temporary fix: alias spotify='(cd ~/.config/spotify-tui && spotify-tui)'

@Rigellute
Copy link
Owner

I think you're right.

Currently, I am just leveraging the underlying spotify library to handle the caching of the token. But I can manually implement this and put it all into the config. Same goes for the cached device_id.

@Rigellute
Copy link
Owner

The latest release has moved all credentials to ~/.config/spotify-tui. Please check it out.

That release also lets you install via brew

brew install Rigellute/tap/spotify-tui

You can then run it with spt.

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

No branches or pull requests

2 participants