mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #712] rename '.cache' #425
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#425
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0xbrayo on GitHub (Jul 27, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/712
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.
@0xbrayo commented on GitHub (Jul 27, 2021):
if I get the green light I can open a PR and fix it by the weekend
@stephanebruckert commented on GitHub (Jul 28, 2021):
As this is a backward-incompatible change, it would be fine for the v3 branch
See https://github.com/plamere/spotipy/issues/652
@Peter-Schorn commented on GitHub (Jul 28, 2021):
It should also be noted that you can specify whatever cache path you want if the default conflicts with other files.
@clemwo commented on GitHub (Feb 22, 2022):
How do you do that?
@Peter-Schorn commented on GitHub (Feb 23, 2022):
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: