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
Cannot set name attribute in shairport-sync.conf #874
Comments
Thanks for the post. Hmmm, this is working perfectly for me.
Is it possible that you are editing the configuration file using a Windows editor? (Windows line endings are different to Unix line endings.) |
That's exactly how my configuration looks at the moment. |
It’s unlikely, TBH, but I am not able to actually test that for a few days. |
Hello again. I just did this – installed and updated a fresh copy of Raspbian Buster Lite, updated everything, edited the configuration file with pi@raspberryPi3BP:~ $ sudo systemctl status shairport-sync
● shairport-sync.service - Shairport Sync - AirPlay Audio Receiver
Loaded: loaded (/lib/systemd/system/shairport-sync.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2019-07-09 09:20:03 IST; 6s ago
Main PID: 625 (shairport-sync)
Tasks: 5 (limit: 2200)
Memory: 2.4M
CGroup: /system.slice/shairport-sync.service
└─625 /usr/local/bin/shairport-sync
Jul 09 09:20:03 raspberryPi3BP systemd[1]: Started Shairport Sync - AirPlay Audio Receiver.
pi@raspberryPi3BP:~ $
`` |
Just to follow up on the line-ending thing and not having used Geany, this might be useful. |
This is likely the same bug that's fixed in #879. |
Hi! Sorry for my absence. I solved the problem. Sort of 😂 So. I did a clean reinstall of Shairport-sync. Removed all of the folders that the which command found. Removed the shairport-sync.conf file and then reinstalled. So my only issue now is that I've enabled it as a systemctl service, it always gets an error when starting up. BUT, if I execute the service via the cloned executable, it works perfectly. (/home/pi/shairport-sync/shairport-sync) This is the error I receive when running
I have run |
Thanks Conner. A fix for #879 which is in the |
Whenever I try enabling the name attribute in the shairport-sync.conf, it spits out a fatal error message.
Job for shairport-sync.service failed because a fatal signal was delivered to the control process. See "systemctl status shairport-sync.service" and "journalctl -xe" for details.
Heres the systemctl status report:
Is this an error on my end? All I did was remove the comment tag and replace %H with the name "Conner's Speaker"
I ensured that the attribute ended with a semicolon and that the quotations weren't lost. All in the config file should be all correct.
It would be very appreciated if someone can please help.
The text was updated successfully, but these errors were encountered: