Comments (2)
The first screenshot with the green "Agree" button looks good. The authorization page lists all possible scopes, which means that both the flow="pkce"
and scopes=spotify.WebAPI.get_scopes("all")
arguments were accepted.
The 404: Not Found page is a bit concerning. It suggests that the http.server
wasn't initialized correctly. (Maybe Flask will work correctly?) Normally, after clicking "Agree", it should display a simple text page saying "Authorization granted. You may now close this page." or something to that effect. In the background, the WebAPI
object would then be populated with the access/refresh tokens obtained by exchanging the code you see in the URL (everything after ?code=
).
Can you try running the authentication process in a normal Python script instead of a Jupyter Notebook? Without having direct access to your machine, I can't immediately pinpoint what the issue is. Once you've authenticated using the normal Python script, you can just use client = spotify.WebAPI()
in your Jupyter Notebook and it'll automatically pick up the cached access token.
I just tested on one of my machines that has never had Minim installed, and both the Python script and Jupyter Notebook routes worked fine, so I'm hoping this isn't a huge logic issue.
from minim.
@santiago20054 As I have not heard back from you, I will assume that you have resolved this issue. As such, I will be closing this thread!
from minim.
Related Issues (19)
- Some questions HOT 5
- Qobuz: "album-of-the-week" is not supported HOT 1
- Question: is it possible to use the library for searching through Tidal... HOT 1
- Minim 1.0.0 release HOT 3
- NameError: name 'Session' is not defined HOT 17
- Future Plans, Collaboration, and Integration Questions HOT 2
- Spotify Access token expired HOT 3
- Feature request: page through Qobuz favorites HOT 2
- ImportError: cannot import name 'FFMPEG_CODECS' from partially initialized module 'minim' (most likely due to a circular import) HOT 5
- Is it possible to get preview for tracks in Tidal service? HOT 7
- Tidal Private API authentication error HOT 3
- Recent changes in the Tidal API? HOT 5
- Is it possible to reduce the installation footprint? HOT 5
- SyntaxWarnings in file spotify.py HOT 1
- Required dependencies? HOT 5
- Is it possible to disable creation of the file minim.conf with version number HOT 5
- zsh: number expected HOT 2
- Getting Tidal API Link HOT 2
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 minim.