-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Feature Request]Authentication is impossible with librespot >=0.5 due to --password being deprecated #96
Comments
I will try to support this. I can't promise an ETA though, but I'd like it to be done ASAP. Cheers |
Hello, I could authenticate using the following procedure: Create a tmp directory named "tmp" under your working directory, when run:
Open the url, paste back the redirect url, what a while (a few millisec actually) that Librespot starts, then simply exit the process using CTRL-C. Let me know if this works. If it does, next step is updating the documentation. |
Alternatively to mounting, you can copy the credentials file to the running container using something like this:
assuming your container is named |
Thanks. That works. It is hacky though.
While the container uses the cache mechanisms, the login should persist. Correct me if I am wrong :-) |
Hello, I know it's hacky and we need something better. About your proposed solution, two things I don't particularly like:
Am I wrong or missing something? About your last questions, yes the login persists if you have a volume mounted as system-cache and system-cache is enabled. |
Oh well, thinking again... we would not need to edit the env twice. If the --enable-oauth is part of the command, the second time it works just fine without user interaction. |
Hello, I could make it work pretty seamlessly... thank you for your suggestion. I expect to be able to build a new release later today or by the end of the weekend |
It should work hopefully... just add
to your compose file.
then authenticate and authorize the device. |
Congrats, Gio! |
Hi. I am happy that you offer this docker image! Thanks a lot!
Is your feature request related to a problem? Please describe.
yes, as of librespot 0.5 --password is deprecated. Therefore, login with librespot-docker is impossible.
Describe the solution you'd like
Support for any of the oauth processes or the access-token, rf. https://github.com/librespot-org/librespot/wiki/Options#Authentication
The text was updated successfully, but these errors were encountered: