37 Commits
Author SHA1 Message Date
Mike Brady 3a1bfd718a Update Docker images to use Alpine 3.23.4 and FFmpeg 8.1 2026-05-06 15:39:55 +01:00
Charles 13ec59dde2 Clone ffmpeg from github for classic image 2025-09-23 22:52:29 +01:00
Charles d3e7672b47 More fixes 2025-09-23 00:24:35 +01:00
Charles e0137b87a8 Fixes and info improvements 2025-09-23 00:04:42 +01:00
Adam Oleksy d33617131f Add ENABLE_AVAHI env var to control dbus/avahi usage in container
ENABLE_AVAHI decides whether dbus and avahi daemons run inside the
container or if the host's instances are reused. When set to 0,
/var/run/dbus and /var/run/avahi-daemon/socket must be bind-mounted
by the user from the host into the container.
2025-09-22 17:49:22 +02:00
Mike Brady cb34413249 Remove left-over dbus and avahi pid files. 2025-04-14 09:37:53 +01:00
Mike Brady 60143518c2 This squashed commit comprises a long series of improvements, bug fixes, optimizations, and new feature additions:
- 48,000 frames per second operation,
 - 48k lossless stereo, 5.1 and 7.1 surround sound
 - Multichannel and multi rate operation on ALSA, PipeWire, PulseAudio, FreeBSD, stdout and unix pipe output backends.

Automatic, flexible and controllable output format (rate, sample format and channel count) selection.

Full FFmpeg integration to support transcoding, resampling, and new audio formats.

Better operation on lower powered devices down to e.g. Raspberry Pi B.

Reduced Docker image sizes with a slimmed-down FFmpeg library.

Enhanced timestamp handling for better synchronization.

Improved the sync error calculation.

A new "vernier" resampling and interpolation method for low-power CPUs.

Bug fixes and minor enhancements.

Note -- there are many breaking changes from previous versions of Shairport Sync!
2025-02-23 13:31:17 +00:00
Charles e0e3c45367 Docker updates. Github action updates. Fix for github actions. 2025-01-28 18:55:35 +00:00
Mike Brady 08063e6d50 Add default parameter to the classic Dockerfile. 2025-01-28 10:00:56 +00:00
Mike Brady 0137515670 Add "curl" to the Docker images for potential use in automations. 2025-01-28 06:37:28 +00:00
Mike Brady 00e595ce55 the /run/dbus directory needs to be defined. 2024-12-23 16:14:16 +00:00
Mike Brady fe743fdf70 Remove Avahi static service file definitions for SSH and SFTP 2024-10-16 15:42:28 +01:00
Mike Brady aade1b39b3 Move the ulimit -n call from 01-startup/script.sh to the 02-dbus/run 2024-06-09 18:41:02 +01:00
Mike Brady 111e247b65 Limit maximum open file handles in Docker images. Increase the level of optimisation while building the Shairport Sync image. 2024-06-08 14:05:26 +01:00
Klemens NanniandKlemens Nanni 8ae635e78e Move shairport-sync manual from section 7 to 1
From mandoc man(1) [-s] section:
                   1         General commands (tools and utilities).
                   [...]
                   7         Miscellaneous information.

From GNU man(1) DESCRIPTION:
     1   Executable programs or shell commands
     [...]
     7   Miscellaneous (including macro packages and conventions), e.g.
         man(7), groff(7)

shairport-sync is an executable, shairport-sync(1) ought to be its
documentation, not merely miscellaneous information.

OpenBSD adjusts this in its audio/shairport-sync port/package ever since.
2024-01-27 19:40:04 +01:00
Mike Brady 25ac1017d1 merge 4.2 updates from the branch 2023-05-20 17:48:01 +01:00
Christian König da58bc0163 Fix s6-timeout issues on slower devices
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-05-13 19:33:58 +02:00
Mike BradyandGitHub 6e7f40a7f1 Merge pull request #1665 from yubiuser/s6-notifyoncheck
Use s6-notifyoncheck to check for services startup readiness.

(Thanks for this. Let's see how it works out!)
2023-04-22 17:37:12 +01:00
Christian König 849e2478d2 Use s6-notifyoncheck to check for services startup readiness
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-18 22:41:56 +02:00
nipsufn 8502f015e6 fix: second typo 2023-03-28 19:59:24 +02:00
nipsufn 0d9baf525d feat: add PulseAudio support to images 2023-03-28 19:36:54 +02:00
Christian König b6e691263e Do not start SPS as s6 service to avoid passing arguments via -e
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-03-07 22:08:11 +01:00
Christian König f79c3e1579 Allow passing arguments via environment variable
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-02-05 20:29:49 +01:00
Christian König bea0faf488 Update Dockerfiles
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-02-01 14:10:06 +01:00
Mike Brady eb4bdd9da3 Add man page to Docker images, add extra decoding to MQTT. 2022-12-05 11:53:39 +00:00
Mike Brady 8bc4f87a59 Include the man page and man utilities in the Docker image. 2022-12-05 11:28:58 +00:00
Mike Brady acdae45549 4.1.1 almost... 2022-12-05 10:25:48 +00:00
Mike Brady 803eddbdfb Docker: launch Shairport Sync as root user rather than as the user shairport-sync. 2022-11-26 11:35:12 +00:00
Mike Brady 27754a6240 Add the configuration file and the sample configuratioon file to the image. 2022-11-12 12:04:14 +00:00
Mike Brady 839884305a Merge branch 'development'
Small documentation updates.
2022-10-26 14:35:32 +01:00
Mike Brady b314337be4 Small documentation updates. 2022-10-26 14:23:35 +01:00
Mike Brady d29c42d22d Merge branch 'development'
Update Docker images o that additional command line arguments to the docker run command are passed to the shairport-sync application.
(This is the behaviour of the original 3.3.8 docker image but was missing from the AirPlay 2 development version.)
Use the s6-overlay system on the Classic docker image.
Fix a bug that delayed metadata appearing in the D-Bus, MPRIS and MQTT interfaces.
Clean up the generation of Play/Pause/Stop conditions.
Add Pause stage generation for AirPlay Buffered streams.
CLean up some of the documents.
2022-10-24 09:52:34 +01:00
Mike Brady 5e874320ee formatting and small updates 2022-10-24 09:48:10 +01:00
Mike Brady a4da36b404 Extra command-line arguments passed when the Docker image is launched are passed to the shairport-sync instance.
The shairport-sync instance runs as user and group shairport-sync which has reduced privileges.

The "classic" docker image now uses the s6-overlay to manage processes.
2022-10-23 16:00:41 +01:00
Charles 0eb29bfd10 Docker build changes, github action updates. 2022-10-05 22:45:23 +01:00
Charles b56d2d39cf Add avahi-tools 2022-08-23 21:49:00 +01:00
Charles e887ccd8de s6 improvements and docker build changes 2022-08-20 00:02:54 +01:00