Closed thefiddler closed 2 years ago
This is a bug in the pause-all script.
As a quick fix, just remove one of the double-quotes at the beginning of line 159 in /opt/hifberry/bin/pause-all
@hifiberry just stumbled upon the same bug. there is another one of those multiple doublequotes in line 167.
Thanks. just fixed this.
DO NOT remove the blocks below, but fill these with the requested data. Incomplete bug reports will be ignored! You should remove this comment before posting the bug report.
Describe the bug When I pause an airplay stream, I see the following error message in the logs (
journalctl -xe
):HiFiBerryOS version 20211105
HiFiBerry sound card Beocreate 4-channel DSP amplifier
To Reproduce Steps to reproduce the behavior:
watch -n1 sh -c "journalctl -xe | tail -n40"
Expected behavior The stream pauses and no error is printed in the log.
Screenshots N/A
Browser (if applicable)
Additional context In
/etc/shairport-sync.conf
,/opt/hifiberry/bin/pause-all
is called:In
/opt/hifiberry/bin/pause-all:159
we have:On line 74 there's also this (however afaict the "not yet implemented" message is not printed, so this function is not actually called):
If pausing shairport is not implemented, maybe it would make sense to bail out earlier in the script, e.g. in the
pause_process()
switch?