Shairport-sync - AirPlay rendering device #99
Replies: 3 comments
-
general = { |
Beta Was this translation helpful? Give feedback.
-
Try cat << EOF > /etc/shairport-sync.conf
general = {
name = "rAudio"
}
sessioncontrol = {
run_this_before_play_begins = "/usr/bin/sudo /srv/http/bash/shairport.sh";
run_this_after_play_ends = "/usr/bin/sudo /srv/http/bash/shairport.sh stop";
}
alsa = {
output_device = "hw:0";
}
EOF The enable again |
Beta Was this translation helpful? Give feedback.
-
Well done! |
Beta Was this translation helpful? Give feedback.
-
systemctl status shairport-sync
● shairport-sync.service - Shairport Sync - AirPlay Audio Receiver
Loaded: loaded (/usr/lib/systemd/system/shairport-sync.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/shairport-sync.service.d
└─override.conf
Active: failed (Result: exit-code) since Sun 2021-01-10 12:41:47 EET; 3s ago
Process: 3000 ExecStart=/usr/bin/taskset -c 3 /usr/bin/shairport-sync (code=exited, status=1/FAILURE)
Main PID: 3000 (code=exited, status=1/FAILURE)
Jan 10 12:41:47 rAudio systemd[1]: Started Shairport Sync - AirPlay Audio Receiver.
Jan 10 12:41:47 rAudio shairport-sync[3000]: fatal error: Line 8 of the configuration file "/etc/shairport-sync.conf":
syntax error
Jan 10 12:41:47 rAudio systemd[1]: shairport-sync.service: Main process exited, code=exited, status=1/FAILURE
Jan 10 12:41:47 rAudio systemd[1]: shairport-sync.service: Failed with result 'exit-code'.
Beta Was this translation helpful? Give feedback.
All reactions