-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Implement login dialog #1
Comments
Does this way of doing it even work with accounts created through Facebook? |
More info for future reference: librespot-org/librespot#244 |
There is a workaround for facebook auth: Go to your Spotify account settings and go to something like "Set Device Password" The password entered there can be put into ncspot's config file. I've also been working on getting the third party auth flow to work with Facebook in medwards/ncspot/master, but I'm not sure how to debug my crash. ncurses seems to take over, flash something to the terminal, then wipe it before exiting with code 101. My guess is there is some auth related unwrap in some thread and it brings the entire thing down, but I'm not sure how to debug this. Will gdb or cgdb play nicely with ncspot? You can reproduce by creating a |
You can log the backtrace to a file like so: |
Thanks, that was helpful. I assumed ncurses would somehow capture stderr. I got my hacky approach to work: medwards/ncspot@f9af3bb My ideal final version has librespot updating to serde 1.0 and then |
I may be in the minority, but I preferred username/password in config (multiple terminals. Easier to copy) I noticed an auth type parameter in the .toml but can't find documentation. Is this doable? |
|
Do you have a premium account? |
Can the credentials.json file be edited to include creds instead of logging in via prompt? |
The credentials file is is just a serialization of I don't know that you can trivially write this file ( |
I can confirm that copying the file between machines works. |
Requiring new users to create a configuration themselves is not user-friendly.
Create a dialog asking for Spotify credentials on startup/when login credentials are missing.
The text was updated successfully, but these errors were encountered: