]>
git.ipfire.org Git - thirdparty/shairport-sync.git/log
Christian König [Tue, 7 Mar 2023 20:52:07 +0000 (21:52 +0100)]
Do not start SPS as s6 service to avoid passing arguments via -e
Signed-off-by: Christian König <ckoenig@posteo.de>
Christian König [Sun, 5 Feb 2023 19:29:49 +0000 (20:29 +0100)]
Allow passing arguments via environment variable
Signed-off-by: Christian König <ckoenig@posteo.de>
Christian König [Wed, 1 Feb 2023 13:10:06 +0000 (14:10 +0100)]
Update Dockerfiles
Signed-off-by: Christian König <ckoenig@posteo.de>
Mike Brady [Fri, 20 Jan 2023 10:23:03 +0000 (10:23 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 19 Jan 2023 17:46:30 +0000 (17:46 +0000)]
Update shairport-sync.conf
default volume typo in configuration file
Mike Brady [Thu, 19 Jan 2023 17:30:40 +0000 (17:30 +0000)]
Update check_classic_mac_basic.yml
Don't. ask for brew update/upgrade
Mike Brady [Thu, 19 Jan 2023 17:15:14 +0000 (17:15 +0000)]
Update check_classic_mac_basic.yml
Upgrade Brew as well
Mike Brady [Thu, 19 Jan 2023 15:20:15 +0000 (15:20 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 19 Jan 2023 14:32:32 +0000 (14:32 +0000)]
Add modifications for V9 of the nqptp interface.
Mike Brady [Thu, 19 Jan 2023 13:04:43 +0000 (13:04 +0000)]
Quieten some debug messages.
Mike Brady [Thu, 19 Jan 2023 12:44:26 +0000 (12:44 +0000)]
Continuing to check the high-volume limiter. Add configuration file settings for default and threshold volume settings and timeout. Include in diagnostics, set tentative defaults.
Mike Brady [Wed, 18 Jan 2023 12:52:11 +0000 (12:52 +0000)]
Check the pulseaudio stream whenever the pa backend is called. Warnings are issued for apparent problems.
Mike Brady [Wed, 18 Jan 2023 11:02:42 +0000 (11:02 +0000)]
Set the high volume threshold to -16.0 and the timeout period to three hours. Hardwired for the present.
Mike Brady [Wed, 18 Jan 2023 10:41:50 +0000 (10:41 +0000)]
Add code to try to save your ears by handling a situation where the player volume was set very high some time ago and you have forgotten.
In that situation currenctly, when you play something, it will come out at the last volume set on the device, which will be that very high volume.
This could happen, for example, the morning after a loud party :).
The new code works as follows: If nothing has been played for a period, say a few hours, and the volume is higher than a threshold, new connections that ask
for the current volume setting will be offered the default (low) volume rather than the current (very high) one.
Most players, including the HomePod mini, iOS and iPadOS use this to set their initial volume.
The Mac Music app retains its own setting, and the Mac System Sounds preference sometimes seems to take its setting from the Music app,
but at least you can see the settings they will apply.
Existing connections are unaffected, so this facility should be unobtrusive.
Mike Brady [Sat, 14 Jan 2023 12:53:20 +0000 (12:53 +0000)]
Clang format
Mike Brady [Sat, 14 Jan 2023 12:48:18 +0000 (12:48 +0000)]
Add a new setting: resync_recovery_time to give the systems a little time to restart.
Clean up the tolerance and resync threshold times.
Mike Brady [Fri, 13 Jan 2023 20:46:54 +0000 (20:46 +0000)]
tidy up a few small things.
Mike Brady [Fri, 13 Jan 2023 20:41:27 +0000 (20:41 +0000)]
Stop using the pa_stream_is_suspended, but check writing errors more carefully.
Mike Brady [Fri, 13 Jan 2023 18:06:34 +0000 (18:06 +0000)]
Check to see if the stream is suspended when accessing it or sending data.
Mike Brady [Fri, 13 Jan 2023 18:03:26 +0000 (18:03 +0000)]
Don't report an ENODEV condition as an error when getting a delay.
Mike Brady [Fri, 13 Jan 2023 15:19:46 +0000 (15:19 +0000)]
Quieten some debug messages
Mike Brady [Fri, 13 Jan 2023 15:08:51 +0000 (15:08 +0000)]
Gremlin fix and comment tidy-up
Mike Brady [Fri, 13 Jan 2023 14:33:30 +0000 (14:33 +0000)]
Clean up the PulseAudio backend to open a stream once only.
Mike Brady [Sat, 31 Dec 2022 18:14:14 +0000 (18:14 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 31 Dec 2022 17:57:25 +0000 (17:57 +0000)]
Capture where the device was never there (ENOENT), as opposed to when it was there but disappeared (ENODEV).
Mike Brady [Sat, 31 Dec 2022 17:16:02 +0000 (17:16 +0000)]
Be more careful checking for ENODEV conditions in audio_alsa.c. Still a few places where it is not done...
Mike Brady [Sat, 31 Dec 2022 10:13:01 +0000 (10:13 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 30 Dec 2022 19:31:01 +0000 (19:31 +0000)]
make the error message one single identifier by linking the error number to the message with an underscore.
Mike Brady [Fri, 30 Dec 2022 19:21:16 +0000 (19:21 +0000)]
small layout edit to shairport-sync.conf
Mike Brady [Fri, 30 Dec 2022 18:49:10 +0000 (18:49 +0000)]
Move unfixable_error_reported flag from conn to config.
Mike Brady [Fri, 30 Dec 2022 18:46:53 +0000 (18:46 +0000)]
Call the unfixable error handler if the output device can't be opened or disappears. Clang-format.
Mike Brady [Fri, 30 Dec 2022 18:36:33 +0000 (18:36 +0000)]
Call the unfixable error if the output device can't be opened or disappears. Clang-format.
Mike Brady [Fri, 30 Dec 2022 17:18:06 +0000 (17:18 +0000)]
Fix repeating error message in audio_stdout.c
Mike Brady [Mon, 19 Dec 2022 09:12:23 +0000 (09:12 +0000)]
Shorten the keepalive timeout time to 15 seconds.
Mike Brady [Wed, 14 Dec 2022 10:35:37 +0000 (10:35 +0000)]
Update check_classic_mac_basic.yml
Run on the `danger` branch too.
Mike Brady [Wed, 14 Dec 2022 10:33:57 +0000 (10:33 +0000)]
Update check_classic_systemd_full.yml
Run on the `danger` branch too.
Mike Brady [Wed, 14 Dec 2022 10:33:28 +0000 (10:33 +0000)]
Update check_ap2_systemd_full.yml
Run on the `danger` branch too.
Mike Brady [Wed, 14 Dec 2022 10:30:35 +0000 (10:30 +0000)]
Merge branch 'danger' of github.com:mikebrady/shairport-sync into danger
Documentation and workflow updates made online.
Mike Brady [Wed, 14 Dec 2022 10:30:22 +0000 (10:30 +0000)]
Fix endless error messages.
Mike Brady [Wed, 14 Dec 2022 10:17:24 +0000 (10:17 +0000)]
Update BUILD.md
Mike Brady [Wed, 14 Dec 2022 10:12:01 +0000 (10:12 +0000)]
Danger note.
Mike Brady [Tue, 13 Dec 2022 09:29:58 +0000 (09:29 +0000)]
Bump the SHM Interface number to note new commands.
Mike Brady [Sat, 10 Dec 2022 11:57:19 +0000 (11:57 +0000)]
Send B/E/P signals to NQPTP to tell it when SPS is playing. The clock should not be sleeping when SPS is playing or paused.
Mike Brady [Thu, 8 Dec 2022 09:37:59 +0000 (09:37 +0000)]
Update TROUBLESHOOTING.md
Mike Brady [Mon, 5 Dec 2022 11:49:23 +0000 (11:49 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 5 Dec 2022 11:48:43 +0000 (11:48 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 5 Dec 2022 11:37:22 +0000 (11:37 +0000)]
Parse phbt/phb0 metddata tokens.
Mike Brady [Mon, 5 Dec 2022 11:36:43 +0000 (11:36 +0000)]
Quieten a compiler warning.
Mike Brady [Mon, 5 Dec 2022 11:28:58 +0000 (11:28 +0000)]
Include the man page and man utilities in the Docker image.
Mike Brady [Sat, 3 Dec 2022 10:28:16 +0000 (10:28 +0000)]
Tidy up a few messages and fix a new compilation warning.
Mike Brady [Fri, 2 Dec 2022 12:14:15 +0000 (12:14 +0000)]
Update README.md
Mike Brady [Thu, 1 Dec 2022 21:55:42 +0000 (21:55 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 1 Dec 2022 15:48:07 +0000 (15:48 +0000)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online update.
Mike Brady [Thu, 1 Dec 2022 15:47:55 +0000 (15:47 +0000)]
Add a configuration check for the xxd program when building for AirPlay 2.
Mike Brady [Wed, 30 Nov 2022 22:13:41 +0000 (22:13 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 30 Nov 2022 17:05:37 +0000 (17:05 +0000)]
BB
Mike Brady [Wed, 30 Nov 2022 17:01:06 +0000 (17:01 +0000)]
Make the keepalive stuff compile under macOS.
Mike Brady [Wed, 30 Nov 2022 16:53:38 +0000 (16:53 +0000)]
Make the keepalive stuff compile under FreeBSD
Mike Brady [Wed, 30 Nov 2022 16:25:03 +0000 (16:25 +0000)]
Add code to close the play session if the client connection drops for a minute. Uses the TCP keepalive facility.
Mike Brady [Wed, 30 Nov 2022 16:23:26 +0000 (16:23 +0000)]
Add detail about the new 'progress_interval' metadata setting.
Mike Brady [Mon, 28 Nov 2022 15:15:17 +0000 (15:15 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 28 Nov 2022 15:11:05 +0000 (15:11 +0000)]
Online documentation updates
Mike Brady [Mon, 28 Nov 2022 15:09:43 +0000 (15:09 +0000)]
Add "FirstFramePostion" property set when first frame of a play session is sent.
Mike Brady [Sat, 26 Nov 2022 19:09:42 +0000 (19:09 +0000)]
clang format
Mike Brady [Sat, 26 Nov 2022 18:45:34 +0000 (18:45 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 26 Nov 2022 18:09:57 +0000 (18:09 +0000)]
SEnd metadata _after_ sending audio to the output.
Mike Brady [Sat, 26 Nov 2022 17:59:38 +0000 (17:59 +0000)]
Add FramePosition property and SetFramePositionUpdateInterval method.
Mike Brady [Sat, 26 Nov 2022 17:56:59 +0000 (17:56 +0000)]
Add handling of a frame_position_string handler for the 'phbt' metadata token.
Mike Brady [Sat, 26 Nov 2022 17:55:27 +0000 (17:55 +0000)]
Add a frame_position_string denoting the RTP frame being output and the time it is being played.
Mike Brady [Sat, 26 Nov 2022 17:54:09 +0000 (17:54 +0000)]
Add albumArtist and composer lists if available. Add a FramePosition property giving the RTP frame number and the time it is to be played. ASlso add a SetFramePositionUpdateInterval method to get it to be generated at intervals.
Mike Brady [Sat, 26 Nov 2022 15:56:25 +0000 (15:56 +0000)]
Add ability to send frame/time updates at intervals as metadata.
Mike Brady [Sat, 26 Nov 2022 11:47:02 +0000 (11:47 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 26 Nov 2022 11:35:12 +0000 (11:35 +0000)]
Docker: launch Shairport Sync as root user rather than as the user shairport-sync.
Mike Brady [Sat, 19 Nov 2022 09:21:31 +0000 (09:21 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
= [Sat, 19 Nov 2022 09:05:26 +0000 (09:05 +0000)]
Fix a bug in audio_alsa.c when there is no hardware device name.
Mike Brady [Fri, 18 Nov 2022 22:50:21 +0000 (22:50 +0000)]
Update BUILD.md
Mike Brady [Fri, 18 Nov 2022 18:14:50 +0000 (18:14 +0000)]
Clang cleanup
Mike Brady [Thu, 17 Nov 2022 10:38:35 +0000 (10:38 +0000)]
Release notes update.
Mike Brady [Thu, 17 Nov 2022 10:35:09 +0000 (10:35 +0000)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online update.
Mike Brady [Thu, 17 Nov 2022 10:31:51 +0000 (10:31 +0000)]
Second attempt. Modify the generation of the 12-digit classic AirPlay service name prefix so that it depends on the service name as well as the hardware address.
Mike Brady [Wed, 16 Nov 2022 16:49:06 +0000 (16:49 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 16 Nov 2022 16:45:50 +0000 (16:45 +0000)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online updates
Mike Brady [Wed, 16 Nov 2022 16:45:37 +0000 (16:45 +0000)]
Revert the change to the 12-digit calculation
Mike Brady [Wed, 16 Nov 2022 14:39:01 +0000 (14:39 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 16 Nov 2022 14:25:53 +0000 (14:25 +0000)]
Modify the generation of the 12-digit classic AirPlay service name prefix so that it depends on the service name as well as the hardware address.
Mike Brady [Wed, 16 Nov 2022 10:05:36 +0000 (10:05 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 16 Nov 2022 10:02:00 +0000 (10:02 +0000)]
In the PulseAudio backend, Whenever a play or latency request is made, open the stream if it is closed.
Mike Brady [Wed, 16 Nov 2022 10:00:48 +0000 (10:00 +0000)]
Quieten a noisy debug message.
Mike Brady [Sat, 12 Nov 2022 17:53:57 +0000 (17:53 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 12 Nov 2022 17:45:36 +0000 (17:45 +0000)]
Add OutputRate and OutputFormat properties to the D-Bus interface.
Mike Brady [Sat, 12 Nov 2022 16:57:12 +0000 (16:57 +0000)]
Fix compilation bug when metadata isn't included in the build.
Mike Brady [Sat, 12 Nov 2022 16:42:25 +0000 (16:42 +0000)]
Add new metadata item: sps:songdatakind, derived from the asdk metadata token. It seems to indicate a timed item (0) or an untimed stream (1). Add output format, output frame rate, stream type (Realtime/Buffered/Classic) properties. Update MQTT appropriately.
Mike Brady [Sat, 12 Nov 2022 12:10:43 +0000 (12:10 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 12 Nov 2022 12:10:25 +0000 (12:10 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sat, 12 Nov 2022 12:04:14 +0000 (12:04 +0000)]
Add the configuration file and the sample configuratioon file to the image.
Mike Brady [Mon, 7 Nov 2022 11:45:19 +0000 (11:45 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 7 Nov 2022 11:33:05 +0000 (11:33 +0000)]
Add two new metadata items -- the player's service name, e.g. "Den Speakers" and the name of the current client, if any, e.g. "Joe's iPhone".
Mike Brady [Thu, 3 Nov 2022 15:24:07 +0000 (15:24 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 3 Nov 2022 15:04:32 +0000 (15:04 +0000)]
Fix a long-standing bug which didn't close the socket used for the RTSP connection, so potentially exhausting the sockets available.
Mike Brady [Thu, 3 Nov 2022 12:02:10 +0000 (12:02 +0000)]
Add another file to look for and delete when cleaning up.