Security Updates, Bug Fixes and Enhancements
This update contains important security updates, bug fixes and enhancements. NQPTP must also be updated, and it should be updated before updating Shairport Sync.
The Shared Memory Interface version of both Shairport Sync and NQPTP is now 10, i.e. smi10
.
Notes
- When updating NQPTP on Linux, be sure to remove the old service file as directed in the README.
- Having completed both updates and installations, remember to restart NQPTP first and then restart Shairport Sync.
Security Updates
- A crashing bug in NQPTP has been fixed.
- The communications protocol used between NQPTP and Shairport Sync has been revised and made more resilient to attempted misuse.
- In Linux systems, NQPTP no longer runs as
root
-- instead it runs as the restriced usernqptp
, with access to ports 319 and 320 set by the installer via thesetcap
utility.
Enhancements
-
A new volume control profile called
dasl-tapered
has been added in which halving the volume control setting halves the output level.
For example, moving the volume slider from full to half reduces the output level by 10dB, which roughly corresponds with a perceived halving of the audio volume level.
Moving the volume slider from half to a quarter reduces the output level by a a further 10dB.
The tapering rate is slightly modified at the lower end of the range if the device's attenuation range is restricted (less than about 55dB).To activate the
dasl-tapered
profile, set thevolume_control_profile
to"dasl_tapered"
in the configuration file and restart Shairport Sync.Many thanks to David Leibovic, aka dasl-, for this.
-
On graceful shutdown, an
active_end
signal should now be generated if the system was in the active state. Addresses issue #1647. Thanks to Tucker Kern for raising the issue.
Bug Fixes
- Fixed a bug that causes the Docker image to crash occasionally when OwnTone interrupted an existing iOS session. Thanks to aaronk6 for the report.
- Fixed a cross-compliation error caused by not looking for the correct version of the
ar
tool. The fix was to substitute the correct version during theautoreconf
phase. Thanks to sternenseemann for raising the issue and the PR containing the fix. - Updated the mDNS strings for the Classic AirPlay feature of AP2, so that it does not appear to provide MFi authentication. Addresses this discussion.
- Always uses a revision number of 1 when looking for status updates on the DACP remote control port. This follows a suggestion in Issue #1658. Thanks to ejurgensen, as ever, for the report and the suggested fix.
- Fixed a
statistics
bug (the minimum buffer size was incorrectly logged) and also tidy up the statistics logging interval logic for resetting min and max counters. - Added an important missing format string argument to a call in the Jack Audio backend. Many thanks to michieldwitte for their PR.
Maintenance