-
Notifications
You must be signed in to change notification settings - Fork 961
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
rename '.cache' #712
Comments
if I get the green light I can open a PR and fix it by the weekend |
It should also be noted that you can specify whatever cache path you want if the default conflicts with other files. |
How do you do that? |
Since the last post on this thread, the API has changed somewhat. Here's how to specify the cache path—that is, the file in which the authorization information is stored—when creating an instance of spotify = Spotify(
auth_manager=SpotifyOAuth(
cache_handler=CacheFileHandler(cache_path="/path/to/cache")
)
) |
The .cache filename clashes with the .cache directory found on the linux '~/home' directory. Simply renaming the .cache file to something more unique would solve this problem. I would suggest renaming it to .sp_cache or something more descriptive like spotipy_cache file.
The text was updated successfully, but these errors were encountered: