Commit Graph
100 Commits
Author SHA1 Message Date
Mike Brady fadd43d06e Merge branch 'development' to 'master' 5.2.2.
Summary of changes:
* If the output rate is different to the input rate (e.g. 48,000 vs 44,100), look for the deepest output bit depth so that the transcoder has the maximum dynamic range available to minimise transcoding inaccuracies.
* Fix a bug whereby the audio backend latency offset was mishandled in AirPlay 2 operation.
* Fix an output format selection bug.
* Update the README reference to the MPRIS specification to the latest version.
* Remove the explicit `-` for `xxd` to read from `STDIN`. It's not necessary, and removing it makes it easier to package Shairport Sync on other build systems, such as OpenWrt.
2026-08-22 08:59:45 +01:00
Mike BradyandGitHub 6e10eca884 Update MPRIS specification reference in documentation [skip ci]
Updated README reference to the latest MPRIS specification version, acknowledging Dmitry Batin for the contribution.
2026-08-21 12:05:57 +01:00
Mike BradyandGitHub 5e170a67a8 Merge pull request #2255 from demosspro/patch-1
Update README.md to link to latest MPRIS information.
2026-08-21 12:00:19 +01:00
Mike BradyandGitHub 6cdd0eb794 Update release notes for version 5.3-dev-21 [skip ci]
Added enhancement regarding output rate and bit depth for transcoding.
2026-08-20 15:51:25 +01:00
Mike Brady 6966a74c82 If the output rate is different to the input rate, look for the deepest output bit depth, to give the transcoder the chance to minimise transcoding inaccuracies. 2026-08-20 15:47:37 +01:00
Mike BradyandGitHub c4e17b60ef Update release notes for version 5.3-dev-19 [skip ci]
Added a bug fix for audio backend latency offset handling in AirPlay 2 operation, including background information and acknowledgments.
2026-08-20 11:13:42 +01:00
Mike Brady b69e01cdf9 Correct the treatment of audio backend latency offset in Realtime streams. Fix a warning if the offset is too negative and that would require frames to be played before they could possibly arrive. 2026-08-20 10:55:30 +01:00
Mike BradyandGitHub d8165c1143 Merge pull request #2253 from prhodey/fix/deferred-airplay2-latency [skip ci]
Defer buffered AirPlay 2 latency offset conversion. (It needs a further little adjustment to handle Realtime streams, but that will be done in the next commit.)
2026-08-20 10:48:35 +01:00
Mike BradyandGitHub 427061fb48 Update release notes for version 5.3-dev-15 [skip ci]
Updated release notes to reflect enhancements and bug fixes in version 5.3-dev-15-gd0422952, including removal of unnecessary `-` for `xxd` and clarification of bug fix details.
2026-08-09 17:20:35 +01:00
Mike BradyandGitHub d042295281 Merge pull request #2247 from kel-mo/codegen-xxd-stdin [skip ci]
Read the plist from `stdin` without an explicit `-` to make it easier to package on other build systems.

`xxd` reads standard input when given no file operand, so the `-` is redundant. It also breaks builds that provide `xxd` through a partial reimplementation such as OpenWrt's [`scripts/xxdi.pl`](https://github.com/openwrt/openwrt/blob/main/scripts/xxdi.pl), which treats `-` as a file name and terminates with an error.

This PR removes the redundant `-`.
2026-08-09 10:37:23 +01:00
Mike BradyandGitHub 9960f9c482 Clarify bug fix process in release notes [skip ci]
Updated the release notes to clarify the bug fix process and ensure proper checks before audio processing.
2026-08-07 16:53:06 +01:00
Mike BradyandGitHub f5d5d585cb Merge pull request #2246 from mikebrady/dependabot/github_actions/development/actions/stale-11.0.0 [skip ci]
Bump actions/stale from 10.4.0 to 11.0.0
2026-08-03 17:42:04 +01:00
Mike BradyandGitHub 94403be1b1 Merge pull request #2245 from mikebrady/dependabot/github_actions/development/docker/login-action-4.6.0 [skip ci]
Bump docker/login-action from 4.5.1 to 4.6.0
2026-08-03 17:41:25 +01:00
Mike BradyandGitHub 5ca9ade963 Fix bug in audio output rate and format matching [skip ci]
Fixed a bug related to output rate and format matching in Shairport Sync. The fix ensures SPS looks for another format at the same rate if an exact match is not found.
2026-08-02 10:20:44 +01:00
Mike Brady 7f8a23b518 Remove redundant flags, add one new one and remove some commented out junk. 2026-08-02 09:37:08 +01:00
Mike Brady 4c4f18d285 Check more carefully if an exact rate and format match should be searched for. If it fails, instead of failing completely, look for the best format at the same rate. 2026-08-02 09:36:20 +01:00
Mike Brady 63ad9f7e94 quieten a debug message. 2026-08-02 09:33:44 +01:00
Mike BradyandGitHub 02ea0ea6c0 Update release notes for version 5.3-dev-3 [skip ci]
Added release notes for version 5.3-dev-3-gcac178a6, including a bug fix related to libdaemon.
2026-07-29 12:15:41 +02:00
Mike Brady 08af668a5d Remove reference to log_to_syslog() if libdaemon support is included. 2026-07-29 12:15:36 +02:00
Mike BradyandGitHub cac178a676 Merge pull request #2243 from daeho-ro/fix-log-to-syslog-libdaemon-build [skip ci]
Comment out the last remaining call to log_to_syslog()
2026-07-29 11:57:42 +02:00
Mike BradyandGitHub 39ad5118be Update release notes for Version 5.3-dev [skip ci]
Added details for Version 5.3-dev and metadata feature restoration.
2026-07-28 18:29:53 +02:00
Mike Brady 86a5b455b2 5.3-dev is essentially 5.2. 2026-07-28 17:26:37 +01:00
Mike Brady 42bd29d6da This is version 5.2 2026-07-28 17:15:07 +01:00
Mike Brady 367e54a3c5 Drop references to log-to and friends -- no longer used. [skip ci]. 2026-07-28 16:58:55 +01:00
Mike BradyandGitHub 4f263533c3 Merge pull request #2242 from mikebrady/dependabot/github_actions/development/docker/login-action-4.5.1 [skip ci]
Bump docker/login-action from 4.4.0 to 4.5.1
2026-07-28 17:25:43 +02:00
Mike BradyandGitHub 97b85e6add Merge pull request #2241 from mikebrady/dependabot/github_actions/development/actions/checkout-7.0.1 [skip ci]
Bump actions/checkout from 7.0.0 to 7.0.1
2026-07-28 17:25:15 +02:00
Mike Brady bb54e95cda Quieten a debug message. [skip ci] 2026-07-24 17:40:57 +02:00
Mike Brady 48088400b3 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online documention updates.
2026-07-23 19:01:22 +02:00
Mike Brady 94e240297c Remove the redundant "--log-to-syslog" setting from the startup script [skip ci] 2026-07-23 19:00:17 +02:00
Mike Brady 6ba8e3107d Default to receiving metadata the older "classic" way for compatibility. Add a temporary setting to change this in the "diagnostics" part of the configuration file. 2026-07-23 18:40:06 +02:00
Mike BradyandGitHub acfc4ae881 Update release notes for version 5.2-dev-46 [skip ci]
Restores previous metadata receiving method for compatibility and adds temporary configuration option for plist-based metadata.
2026-07-23 16:45:04 +02:00
Mike BradyandGitHub a93e187ebc Update version to 5.2-dev-44-geb49aaab [skip ci]
Updated version number and enhanced bug fix acknowledgment.
2026-07-20 19:33:45 +02:00
Mike Brady eb49aaabd2 Settle on a convolver block size of 1024. 2026-07-20 18:26:23 +01:00
Mike BradyandGitHub 081aa0ca9e Update version to 5.2-dev-42 and fix bugs [skip ci]
Updated version number and fixed bugs in convolution and loudness code related to input/output rates and channel counts.
2026-07-20 18:47:12 +02:00
Mike Brady 5e48d8fe3d Temporarily stop block length check. 2026-07-20 17:37:07 +01:00
Mike BradyandGitHub eb806f209f Fix typo in comment out of convolution_ir_files in config [skip ci]
Comment out the convolution_ir_files configuration line.
2026-07-20 16:24:15 +02:00
Mike Brady 2346cd7a4c Update convolution comments in the configuration file. [skip ci] 2026-07-20 11:49:02 +01:00
Mike BradyandGitHub feecaae88b Update release notes for version 5.2-dev-38 [skip ci]
Fixed bugs in convolution and loudness code related to input/output rates and channel counts. Added acknowledgment for the bug report.
2026-07-20 12:25:33 +02:00
Mike Brady bffa91dd21 Fix mixups between input and output rates and channel counts during convolution initialisation and in convolution attenuation and loudness application. 2026-07-20 11:19:54 +01:00
Mike BradyandGitHub 4d9dfa73af Update release notes with deprecations and bug fixes [skip ci]
Added deprecation notice for obsolete logging options.
2026-07-16 16:25:50 +02:00
Mike BradyandGitHub a17e8c0a58 Update release notes for version 5.2-dev-35 [skip ci]
Added a new exit handler for clean exits and fixed various bugs related to mutex handling and compiler warnings.
2026-07-16 16:07:28 +02:00
Mike Brady 83ae1d286b Add a new exit handler to enable Shairport Sync to exit cleanly — that is, on exit, to clean up everything, e.g. open files, ports, sockets, devices, threads, it has been using.
If cleanup isn’t finished after one second, exit will occur unconditionally.
Use the new exit handler for normal exit, for SIGINT and SIGTERM handling, for abnormal exit after fatal errors, and for handling quit requests from the D-Bus and MPRIS interfaces.

When an unfixable error occurs without an installed unfixable error handler, unlock the mutex protecting Shairport Sync’s alsa backend to permit a clean exit.

Fix a very low-level mutex-locking error that interfered with debugging.

Simplify much mutex lock handling.
Remove lots of old and unused code, variables and definitions.

Update audio_sndio.c to remove some harmless compiler warnings.

Undo adding two seconds for messages to be output before _Exit() on die() to allow messages to be output...
Undo making die() exit unconditionally.
2026-07-16 14:51:06 +01:00
Mike Brady 0adbe5fc72 Add 2 seconds for messages to be output before _Exit() on die() to allow messages to be output... 2026-07-13 08:01:15 +01:00
Mike Brady 2ba3b1163a Make die() exit unconditionally. Clean up some more redundant code. Revert unfixable error to use die() rather than warn() and _Exit(). 2026-07-12 17:07:11 +01:00
Mike BradyandGitHub 68a78e82f3 Update release notes for version 5.2-dev-31 [skip ci]
Added a bug fix for Shairport Sync hanging on unfixable errors and updated version number.
2026-07-12 17:26:34 +02:00
Mike BradyandGitHub b1a9f645f4 Merge pull request #2237 from mikebrady/dependabot/github_actions/development/actions/stale-10.4.0 [skip ci]
Bump actions/stale from 10.3.0 to 10.4.0
2026-07-12 17:19:39 +02:00
Mike Brady 8b76d1c559 Exit immediately when an unfixable error is detected. Don't try to clean up before exit. 2026-07-12 16:18:31 +01:00
Mike BradyandGitHub 7884993f01 Fix broken link in RELEASENOTES-DEVELOPMENT.md [skip ci]
typo
2026-07-11 10:03:55 +02:00
Mike BradyandGitHub f217fb4f67 Fix broken link in RELEASENOTES-DEVELOPMENT.md [skip ci]
Fixed a broken link in the documentation referencing CONFIGURATION FLAGS.md from ADVANCED TOPICS.
2026-07-11 10:02:44 +02:00
Mike BradyandGitHub be6d9d0ad3 Merge pull request #2235 from int3rrupt/fix-broken-doc-link [skip ci]
Fix broken link to `CONFIGURATION_FLAGS.md`
2026-07-11 09:48:59 +02:00
Mike BradyandGitHub 1902de354e Update documentation for FreeBSD build requirements [skip ci]
Updated documentation to include 'gcrypt' in the FreeBSD build guide.
2026-07-09 18:32:37 +02:00
Mike BradyandGitHub e1c9ef7e8b Update FreeBSD version in BUILD.md [skip ci]
Updated FreeBSD version from 14.3 to 15.1 in the documentation and adjusted related notes.
2026-07-09 17:14:11 +02:00
Mike BradyandGitHub 7623ef6310 Fix package list for AirPlay 2 build [skip ci]
Updated package list for building Shairport Sync for AirPlay 2.
2026-07-09 17:03:43 +02:00
Mike BradyandGitHub 1bf58f51f9 Update release notes for version 5.2-dev-10 [skip ci]
Added details about new MQTT command and bug fix.
2026-07-06 13:25:41 +02:00
Mike BradyandGitHub 34274b2b50 Merge pull request #2226 from zutroy97/queue-next-track-id
Add MQTT queue_next command and fix track_id byte order.
2026-07-06 12:47:02 +02:00
Mike BradyandGitHub c302c4c473 Merge pull request #2232 from mikebrady/dependabot/github_actions/development/docker/login-action-4.4.0 [skip ci]
Bump docker/login-action from 4.2.0 to 4.4.0
2026-07-06 12:06:07 +02:00
Mike BradyandGitHub 7436a9a755 Merge pull request #2231 from mikebrady/dependabot/github_actions/development/docker/build-push-action-7.3.0 [skip ci]
Bump docker/build-push-action from 7.2.0 to 7.3.0
2026-07-06 12:05:23 +02:00
Mike BradyandGitHub 40eddc37ba Merge pull request #2230 from mikebrady/dependabot/github_actions/development/docker/setup-qemu-action-4.2.0 [skip ci]
Bump docker/setup-qemu-action from 4.1.0 to 4.2.0
2026-07-06 12:04:42 +02:00
Mike BradyandGitHub 4fb6357b55 Merge pull request #2229 from mikebrady/dependabot/github_actions/development/docker/setup-buildx-action-4.2.0 [skip ci]
Bump docker/setup-buildx-action from 4.1.0 to 4.2.0
2026-07-06 12:04:08 +02:00
Mike BradyandGitHub 93e1804f7e Fix wording in release notes for version 5.2-dev [skip ci] 2026-07-04 13:10:58 +02:00
Mike BradyandGitHub 0311ef0947 Update release notes for version 5.2-dev [skip ci]
Added notes for version 5.2-dev, including bug fixes and improvements.
2026-07-04 13:10:32 +02:00
Mike Brady df59fa80ab This is 5.2-dev 2026-07-04 12:07:10 +01:00
Mike BradyandGitHub 6219c419be Fix formatting in AirPlay 2 release notes [skip ci]
Corrected formatting in the release notes regarding AirPlay 2.
2026-07-03 22:47:09 +02:00
Mike BradyandGitHub 545d9dd404 Fix grammatical error in README.md [skip ci] 2026-07-03 22:34:43 +02:00
Mike BradyandGitHub 7a770034b9 Add systemctl daemon-reload command after cleanup [skip ci]
Added instructions for reloading systemd daemon after removing service files.
2026-07-03 22:13:59 +02:00
Mike BradyandGitHub 82f9ea9d7a Update BUILD.md with repository setup instructions [skip ci]
Added instructions for cloning and updating the Shairport Sync repository.
2026-07-03 21:58:13 +02:00
Mike Brady d6ac53bf4c Bug fix, docker-compose updates, statistics readoout improvement. 2026-07-02 14:17:53 +01:00
Mike BradyandGitHub 89b78b8927 Update RELEASENOTES-DEVELOPMENT.md for version 5.1-dev-52 [skip ci]
Document bug fixes and minor improvements in release notes.
2026-06-28 17:34:25 +01:00
Mike Brady 6db0ba16a4 Add sys-nice request to docker compose file and comment out unnecessary stuff. 2026-06-28 17:23:14 +01:00
Mike Brady 69f5e78050 Add a few tools and do a recompile for more comportable troubleshooting. 2026-06-28 17:08:56 +01:00
Mike Brady 012c2a6569 If the minimum DAC queue size is not changed from maxint, assume it has never been set and indicate that it is not available. 2026-06-28 17:08:11 +01:00
Mike Brady 5920deae13 Stop allocating large buffers on the stack, as it will overflow on, e.g. Alpine and embedded Linuxes, where the stack frame allocations are smaller. Use mallocs instead. 2026-06-28 17:06:40 +01:00
Mike Brady 5bd5f9c1d0 Merge branch 'master' of github.com:mikebrady/shairport-sync
Online update.
2026-06-27 18:52:36 +01:00
Mike Brady 1718f7b5af Add Jack deprecation note to the configuration file. 2026-06-22 18:53:51 +01:00
Mike Brady 37fff1ac39 Add Jack deprecation note to the configuration file. [skip ci] 2026-06-22 18:52:42 +01:00
Mike Brady 1008f918c9 Add note about new --with-metadata-pipe and --with-metadata-multicast configuration flags. 2026-06-22 18:48:02 +01:00
Mike Brady 368f3696c3 Add note about new --with-metadata- configuration settings. 2026-06-22 18:39:13 +01:00
Mike BradyandGitHub 4d0e9bb6c8 Remove markdown test from Bug Report template [skip ci]
Removed markdown test section from Bug Report template.
2026-06-22 16:55:05 +01:00
Mike BradyandGitHub 83961baad9 Add markdown test section to Bug Report template [skip ci]
Added a markdown test section to the Bug Report template.
2026-06-22 16:53:45 +01:00
Mike Brady d08637d3d6 Merge branch 'development'
Update of configuration flag documentation.
2026-06-22 13:09:06 +01:00
Mike Brady 4a24afa1a8 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online update.
2026-06-22 13:08:32 +01:00
Mike BradyandGitHub ee4402d93c Remove redundant text formatting in flags section [skip ci] 2026-06-22 13:08:08 +01:00
Mike Brady a6231e089c Merge branch 'development'
Update settings document.
2026-06-22 13:05:53 +01:00
Mike Brady 508e9fc3c6 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
online update
2026-06-22 12:59:50 +01:00
Mike BradyandGitHub 6a0f5385bc Revise configuration flags and add metadata options [skip ci]
Updated the configuration flags documentation to indicate deprecation of the --with-jack flag and added new sections for metadata pipe and multicast.
2026-06-22 12:57:18 +01:00
Mike Brady c454867a04 Merge branch 'development' 2026-06-22 11:54:59 +01:00
Mike Brady 8846e27cf0 Update copyright notice in the man source file. 2026-06-22 11:43:17 +01:00
Mike BradyandGitHub 77efa15d16 Merge pull request #2220 from mikebrady/dependabot/github_actions/development/actions/checkout-7.0.0 [skip ci]
Bump actions/checkout from 6.0.3 to 7.0.0
2026-06-22 11:34:06 +01:00
Mike BradyandGitHub 486f0d7eb2 Update release notes with security bug fixes [skip ci]
Documented fixes for two security issues in pair_ap/pair-tlv.c and rtsp.c, including bounds checks and validation improvements. Acknowledged contributions from TristanInSec for reporting and fixing the issues.
2026-06-18 09:36:44 +01:00
Mike BradyandGitHub 3780b504a4 Merge pull request #2218 from TristanInSec/fix-tlv-dmap-oob-reads-v2
Fix Out-Of-Bounds reads and infinite loop in TLV and DMAP parsers.
2026-06-18 09:27:43 +01:00
Mike BradyandGitHub b4751a09ef Correct grammar in bug fix note for Classic operation [skip ci] 2026-06-14 15:28:12 +01:00
Mike BradyandGitHub 2ae38f797f Update release notes with new bug fix details [skip ci]
Added a new bug fix related to immediate flush and PTP clock anchor reset.
2026-06-14 15:27:29 +01:00
Mike Brady 0e6ca7b7b2 When an immediate flush is requested, reset the PTP clock anchor information immediately to disable clocking until play is resumed. 2026-06-14 15:21:11 +01:00
Mike BradyandGitHub 1e583f0a1e Merge pull request #2212 from mikebrady/dependabot/github_actions/development/actions/checkout-6.0.3 [skip ci]
Bump actions/checkout from 6.0.2 to 6.0.3
2026-06-13 13:18:52 +01:00
Mike BradyandGitHub b90af5ddeb Merge pull request #2209 from mikebrady/dependabot/github_actions/development/docker/setup-qemu-action-4.1.0 [skip ci]
Bump docker/setup-qemu-action from 4.0.0 to 4.1.0
2026-06-13 13:17:50 +01:00
Mike BradyandGitHub e7965bf3fa Merge pull request #2207 from mikebrady/dependabot/github_actions/development/docker/setup-buildx-action-4.1.0 [skip ci]
Bump docker/setup-buildx-action from 4.0.0 to 4.1.0
2026-06-13 13:17:17 +01:00
Mike BradyandGitHub 082f0f1db6 Merge pull request #2206 from mikebrady/dependabot/github_actions/development/actions/stale-10.3.0 [skip ci]
Bump actions/stale from 10.2.0 to 10.3.0
2026-06-13 09:57:16 +01:00
Mike BradyandGitHub 246d29d323 Merge pull request #2205 from mikebrady/dependabot/github_actions/development/docker/build-push-action-7.2.0 [skip ci]
Bump docker/build-push-action from 7.1.0 to 7.2.0
2026-06-13 09:56:52 +01:00
Mike BradyandGitHub 25ab1efb54 Merge pull request #2204 from mikebrady/dependabot/github_actions/development/docker/login-action-4.2.0
Bump docker/login-action from 4.1.0 to 4.2.0 [skip ci]
2026-06-13 09:55:51 +01:00
Mike BradyandGitHub 39da3d3cf2 Update AirPlay 2 service options in release notes [skip ci]
Enhanced AirPlay 2 build options and improved input format change delivery.
2026-06-03 14:55:28 +01:00