-
Notifications
You must be signed in to change notification settings - Fork 403
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
Install Script not Parsing Spotify Password into mopidy.conf correctly #1420
Comments
this should happen here: RPi-Jukebox-RFID/scripts/installscripts/buster-install-default.sh Lines 923 to 948 in be6bc67
by just looking at it I can’t see an obvious problem. |
Same issue with my config. For me it seems that the trigger is a dollar sign ($) in the password. It doesn't matter if I ran automated or interactiv installation. |
There is know $ in my password but I do have a & if that helps with troubleshooting. I haven't had a chance to rerun the installer script to see exactly what is happening yet. |
This will be fixes with #2315 |
Did you identify the issue and is there a fix somewhere for this in #2315 ? To me,
e.g.
You lose everything after the dollar because the double quotes inserted into test.conf tell bash to interpolate the variable
But you'd still have a problem with any quote characters in there:
They need to be escaped. And maybe also consider switching to the bash literal syntax (
You'd need to do this everywhere the user's input might contain problematic characters (i.e. not just the Spotify password). |
haha, you have a fix now. I shouldn't have gone for lunch before submitting that! |
I have confirmed this with both the master and develop releases.
When you enter your Spotify credentials during the install script it results in a mopify login error. When viewing the mopidy.conf the spotify password field has incorrectly inserted "spotify_password" into the center of the correct password text. It must be edited in the config manually to authenticate with Spotify.
The text was updated successfully, but these errors were encountered: