Comments (3)
Your first potential solution would be effective and quite simple to implement. While reading up to this point, I was thinking of something similar.
I'll start working on a new CacheHandler, this shouldn't be too hard.
from spotipy.
So currently there's something similar, but for usernames. Basically the username is appended to the end of the filename.
I'll probably go down a similar route, but reduce the hash length to 7 chars.
I also thought about hijacking the username parameter as it's marked as deprecated, but that just feels wrong if this is supposed to be official :)
from spotipy.
After some internal discussions with @stephanebruckert, we came to the conclusion that this change should be kept for the v3 release, as it would be somewhat difficult and unstable to implement a solution that is also backwards compatible. Also, this problem does not only affect the CacheFileHandler
, but pretty much any other cache handler that has some kind of name attribute.
from spotipy.
Related Issues (20)
- Get Artist's Albums now expects "include_groups" param instead of "album_type" HOT 1
- Documentation Section Suggestion: “A Quick Tutorial To Get Started” HOT 2
- Simple spelling error in documentation
- Improve 'util.py' with function docstrings HOT 4
- the playlist function stopped working between yesterday and today HOT 5
- API Reference Refers to Deprecated Methods HOT 2
- Update Directions In TUTORIAL.md
- Documentation for version 2.23.0 not available HOT 8
- Current 2.23.0 install from pip doesn't include latest code HOT 4
- Update Directions and Content of CONTRIBUTING.md HOT 1
- Backend terminal shows: " Enter the URL you were redirected to: " HOT 5
- Adding a custom date range for users top tracks and top artist HOT 1
- Account Creation Timestamp field HOT 2
- Any way to play a playlist? Without premium if possible. HOT 1
- Podcast transcript HOT 1
- How spotipy have to be setted for deploying? HOT 1
- How do I start playback on the command line/headless? HOT 6
- An error occurred: can only concatenate tuple (not "str") to tuple when using Spotipy functions HOT 7
- Move linting/code style checks to a separate test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotipy.