-
Notifications
You must be signed in to change notification settings - Fork 648
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
v0.6.0 event vars missing \n delimiter #1391
Comments
Sorry for the late response, but I can confirm the behavior on my side. Interestingly enough tho the string that is set as env_var has a
|
Ah it seems like a pretty simple fix to your script. It seems to work when you wrap the env_vars with quotation marks and then echo seems to parse it correctly. I tested the following with Warning Doesn't work TEST=some\ntesting; echo -e $TEST
somentesting Tip Works TEST="some\ntesting"; echo -e $TEST
some
testing Warning Funnily enough also doesn't work TEST=some\ntesting; echo -e "$TEST"
somentesting |
Hi,
I'm processing the track metadata in a bash event script and noticed that the env vars ARTISTS, ALBUM_ARTISTS and COVERS which should be \n delimited according to the wiki don't appear to contain these delimiters but instead are delimited by space.
Config
pi-5
PiOS bookworm
librespot v0.6.0
moOde 9.1.4 (latest)
Event script
Example Output
The two artists are: "softy" and "Dimension 32" and appear as "softy, Dimension 32" in the IOS app. The album artist is "softy".
Output should be
The text was updated successfully, but these errors were encountered: