-
Notifications
You must be signed in to change notification settings - Fork 219
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
Librespot without a fixed user? #534
Comments
Librespot does support non-hardcoded credentials, I think. But I've never tried it. To use it you would remove the username and password arguments that are present in /etc/default/librespot. Once librespot is restarted it should login automatically when each user selects it on their Spotify client. I don't know if it works for Facebook logins. If it does work reliably, we could make that the default. Or, you can hack your version to do it. |
I am removing the username and password arguments in /etc/default/librespot but upon a restart Pi MusicBox will repopulate the file with my username and password. It does work without username and password, I've been able to confirm that. But as of now I have to edit /etc/default/librespot every restart. |
OK, then comment out the line in /opt/musicbox/startup.sh that writes that librespot settings file. |
I think Facebook-created Spotify accounts also have a regular username. Just log in and check. |
Fo future users, I can confirm this works: Step 1. Go to Spotify: https://accounts.spotify.com/en/login/ Tip: I had to reset my password to get this to work as I don't think I had a non-facebook login password set. Hope this helps. |
I've setup my musicbox and so far it's mostly working good.
However I've set it up for both me and my girlfriend living with me. We are both using it, with different Spotify Accounts. She has a Facebook-created account so logging in with user credentials is very tedious if not impossible - so I've used my username and password for the web-search functions and spotify features of Pi MusicBox.
However, we both occassionally use it via Spotify Connect, and she can't since a restart always changes the /etc/default/librespot file's ARGs to use my username and password.
How can I change it to accept any user?
The text was updated successfully, but these errors were encountered: