Commit Graph
100 Commits
Author SHA1 Message Date
Mike BradyandGitHub beb195eb46 Uncheck "require password"
Added hint thanks to [ajones45](https://github.com/ajones45).
2023-05-28 08:10:13 +01:00
Mike BradyandGitHub f800c4ab34 Merge pull request #1680 from dge8/ao_matrix_fixes
Fix `libao` matrix option by specifying channel ordering.
2023-05-24 07:26:32 +01:00
Mike Brady a0e9c0ac34 add --broken to the git describe call 2023-05-21 13:42:34 +01:00
Mike Brady ce57236709 updates from 4.2 master 2023-05-21 13:21:28 +01:00
Mike Brady b56d551518 Small documentation updates. 2023-05-21 12:49:05 +01:00
Mike Brady 10ee072104 Small documentation updates. 2023-05-21 12:45:22 +01:00
Mike Brady 290a431a85 emphasise the significance of the bug fixes 2023-05-20 18:15:15 +01:00
Mike Brady 7911445adb actually make is 4.2 2023-05-20 18:09:51 +01:00
Mike Brady b46962c733 update release notes 2023-05-20 17:54:17 +01:00
Mike Brady 25ac1017d1 merge 4.2 updates from the branch 2023-05-20 17:48:01 +01:00
Mike BradyandGitHub 7804b3acc5 Update RELEASENOTES-DEVELOPMENT.md 2023-05-20 16:55:58 +01:00
Mike Brady ffeeacc4bd add Shared Memory Interface Revision number, e.g. "smi9" to the version string for AirPlay2. 2023-05-20 16:42:52 +01:00
Mike BradyandGitHub 004bf2655f Update RELEASENOTES-DEVELOPMENT.md
Typo fix.
2023-05-20 11:55:09 +01:00
Mike BradyandGitHub 0be523d759 Update RELEASENOTES-DEVELOPMENT.md 2023-05-15 15:06:23 +01:00
Mike BradyandGitHub bd068fb64d Merge pull request #1675 from reitermarkus/libplist-2.3.0
Fix compilation with `libplist` 2.3.0.
2023-05-14 11:00:34 +01:00
Mike BradyandGitHub 15274a919f Merge pull request #1678 from yubiuser/fix/startup
Fix s6-timeout issues on slower devices.
2023-05-13 19:57:23 +01: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
Mike BradyandGitHub 5335ac75d7 Merge pull request #1642 from nipsufn/ci/images-with-pa
build docker with pa support - thanks!
2023-04-22 17:36:17 +01:00
Mike BradyandGitHub fa04892d1d Merge pull request #1663 from yubiuser/update_actions
Update actions. Thanks!
2023-04-22 17:26:53 +01:00
Mike BradyandGitHub 32fddbfdc7 Update RELEASENOTES-DEVELOPMENT.md 2023-04-06 12:17:32 +01:00
Mike Brady 039618302a Add a short delay before retrying for a MAC address in get_device_id. 2023-04-06 12:09:43 +01:00
Mike Brady 13ac11bfe0 Fix a bug in get_device_id which allowed it to return with an all-zeros ID. Not it waits for up to 10 seconds for a MAC address. 2023-04-03 09:01:51 +01:00
Mike BradyandGitHub 1b53d9d306 Update PulseAudioAndPipeWire.md 2023-03-24 10:58:15 +00:00
Mike BradyandGitHub d3f0b6ca20 Update BUILD.md 2023-03-24 10:54:24 +00:00
Mike BradyandGitHub 85e1c08e30 Update README.md 2023-03-24 10:49:52 +00:00
Mike BradyandGitHub 69d3b02a26 Update README.md 2023-03-24 10:49:31 +00:00
Mike BradyandGitHub ac412bf7df Update README.md 2023-03-24 10:49:13 +00:00
Mike BradyandGitHub 7be37f8219 Update PulseAudioAndPipeWire.md 2023-03-24 10:46:44 +00:00
Mike BradyandGitHub d23e62d7ea Update PulseAudioAndPipeWire.md 2023-03-24 09:18:37 +00:00
Mike BradyandGitHub 24e267de78 Create PulseAudioAndPipeWire.md 2023-03-24 09:12:02 +00:00
Mike BradyandGitHub a1c9387ca8 Update RELEASENOTES-DEVELOPMENT.md 2023-03-19 09:51:07 +00:00
Mike BradyandGitHub 55c8fb8305 Update RELEASENOTES-DEVELOPMENT.md 2023-03-19 09:50:45 +00:00
Mike BradyandGitHub e74300d784 Merge pull request #1624 from yubiuser/docker
Update Dockerfiles to Alpine 3.17 and set fixed startup order. Thanks to [yubiuser](https://github.com/yubiuser) for their work on this!
2023-03-19 09:03:19 +00:00
Mike BradyandGitHub cf0cef3db1 Merge pull request #1636 from hunhejj/patch-2
Fix MQTT active start / active end examples. Thanks again to [hunheij](https://github.com/hunhejj).
2023-03-19 08:53:10 +00:00
Mike BradyandGitHub 0f0f65b676 Merge branch 'development' into patch-2 2023-03-19 08:52:38 +00:00
Mike BradyandGitHub 62fb350ffd Merge pull request #1635 from hunhejj/patch-1
Migrate to new HA mqtt configuration. Thanks to [hunheij](https://github.com/hunhejj).
2023-03-19 08:50:59 +00:00
Mike BradyandGitHub a9fd294bf7 Add GitHub sponsorship. 2023-03-08 22:10:24 +00:00
Mike BradyandGitHub 6d45657373 Update RELEASENOTES-DEVELOPMENT.md 2023-02-22 13:14:58 +00:00
Mike Brady 29ca32256d Ensure that the PTP clock is restarted on seconds and subsequent plays on the same connection. 2023-02-22 13:01:29 +00:00
Mike BradyandGitHub f164f19a3d Update RELEASENOTES-DEVELOPMENT.md 2023-02-13 08:50:07 +00:00
Mike Brady 551734b398 Treat a keepalive timeout the same as if the client had closed the connection. Total timeout is 35 + 5 * 5 = 60(?) seconds. 2023-02-13 08:34:55 +00:00
Mike BradyandGitHub 72e5b5309b Update RELEASENOTES-DEVELOPMENT.md 2023-02-12 20:29:20 +00:00
Mike Brady 65c6975ea6 Remove some race conditions between Shairport Sync ('SPS') opening a TCP connection and the client checking that it's open. If SPS is slow for some reason (e.g. slow CPU), the client could find that the connection hasn't been opened and may then terminate the session. The fix is to ensure the TCP connections are open for reading before telling the client about them. 2023-02-12 20:14:07 +00:00
Mike BradyandGitHub aa1d578bc2 Update RELEASENOTES-DEVELOPMENT.md 2023-02-07 15:07:48 +00:00
Mike Brady c924387aac Make sure that the AirPlay 1 hex prefix to the service name matches the AirPlay 2 device ID in AirPlay2 mode. In AirPlaty 1 mode, the prefix is a hash of the service name. 2023-02-07 14:51:14 +00:00
Mike BradyandGitHub 24a941988f Update ADDINGTOHOME.md 2023-02-04 09:33:24 +00:00
Mike BradyandGitHub dec597c96e Update ADDINGTOHOME.md 2023-02-04 09:32:55 +00:00
Mike BradyandGitHub a6c66db276 Update RELEASENOTES-DEVELOPMENT.md 2023-01-20 10:23:03 +00:00
Mike BradyandGitHub 8c607e2d61 Update shairport-sync.conf
default volume typo in configuration file
2023-01-19 17:46:30 +00:00
Mike BradyandGitHub 90ca27f9be Update check_classic_mac_basic.yml
Don't. ask for brew update/upgrade
2023-01-19 17:30:40 +00:00
Mike BradyandGitHub accc6777da Update check_classic_mac_basic.yml
Upgrade Brew as well
2023-01-19 17:15:14 +00:00
Mike BradyandGitHub 4350f5e60b Update RELEASENOTES-DEVELOPMENT.md 2023-01-19 15:20:15 +00:00
Mike Brady 6eb70eee70 Add modifications for V9 of the nqptp interface. 2023-01-19 14:32:32 +00:00
Mike Brady 17c39797c6 Quieten some debug messages. 2023-01-19 13:04:43 +00:00
Mike Brady 72f1554cbb 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. 2023-01-19 12:44:26 +00:00
Mike Brady 66ca645002 Check the pulseaudio stream whenever the pa backend is called. Warnings are issued for apparent problems. 2023-01-18 12:52:11 +00:00
Mike Brady 07211e7e0f Set the high volume threshold to -16.0 and the timeout period to three hours. Hardwired for the present. 2023-01-18 11:02:42 +00:00
Mike Brady 8201903a4e 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.
2023-01-18 10:41:50 +00:00
Mike Brady d2ca8c84a4 Clang format 2023-01-14 12:53:20 +00:00
Mike Brady 28f54af281 Add a new setting: resync_recovery_time to give the systems a little time to restart.
Clean up the tolerance and resync threshold times.
2023-01-14 12:48:18 +00:00
Mike Brady b35d470c77 tidy up a few small things. 2023-01-13 20:46:54 +00:00
Mike Brady a16933bbc1 Stop using the pa_stream_is_suspended, but check writing errors more carefully. 2023-01-13 20:41:27 +00:00
Mike Brady 0ac1c0d8b5 Check to see if the stream is suspended when accessing it or sending data. 2023-01-13 18:06:34 +00:00
Mike Brady 7d243492fd Don't report an ENODEV condition as an error when getting a delay. 2023-01-13 18:03:26 +00:00
Mike Brady c2e4ab29f1 Quieten some debug messages 2023-01-13 15:19:46 +00:00
Mike Brady 99ca92998e Gremlin fix and comment tidy-up 2023-01-13 15:08:51 +00:00
Mike Brady 20dca3c542 Clean up the PulseAudio backend to open a stream once only. 2023-01-13 14:33:30 +00:00
Mike BradyandGitHub 5ab76c2548 Update RELEASENOTES-DEVELOPMENT.md 2022-12-31 18:14:14 +00:00
Mike Brady b5bb2fef38 Capture where the device was never there (ENOENT), as opposed to when it was there but disappeared (ENODEV). 2022-12-31 17:57:25 +00:00
Mike Brady 76387f8291 Be more careful checking for ENODEV conditions in audio_alsa.c. Still a few places where it is not done... 2022-12-31 17:16:02 +00:00
Mike BradyandGitHub dcc994ab77 Update RELEASENOTES-DEVELOPMENT.md 2022-12-31 10:13:01 +00:00
Mike Brady ae5910e2e7 make the error message one single identifier by linking the error number to the message with an underscore. 2022-12-30 19:31:01 +00:00
Mike Brady 5bc072eb9f small layout edit to shairport-sync.conf 2022-12-30 19:21:16 +00:00
Mike Brady f4c9c0bcd8 Move unfixable_error_reported flag from conn to config. 2022-12-30 18:49:10 +00:00
Mike Brady a87eb95d30 Call the unfixable error handler if the output device can't be opened or disappears. Clang-format. 2022-12-30 18:46:53 +00:00
Mike Brady d6536a8e79 Call the unfixable error if the output device can't be opened or disappears. Clang-format. 2022-12-30 18:36:33 +00:00
Mike Brady fd89c7e8cb Fix repeating error message in audio_stdout.c 2022-12-30 17:18:06 +00:00
Mike Brady e518891b29 Shorten the keepalive timeout time to 15 seconds. 2022-12-19 09:12:23 +00:00
Mike BradyandGitHub b72e2c649d Update check_classic_mac_basic.yml
Run on the `danger` branch too.
2022-12-14 10:35:37 +00:00
Mike BradyandGitHub 527edf6aa5 Update check_classic_systemd_full.yml
Run on the `danger` branch too.
2022-12-14 10:33:57 +00:00
Mike BradyandGitHub 74c093351a Update check_ap2_systemd_full.yml
Run on the `danger` branch too.
2022-12-14 10:33:28 +00:00
Mike Brady 5b0fd86a40 Merge branch 'danger' of github.com:mikebrady/shairport-sync into danger
Documentation and workflow updates made online.
2022-12-14 10:30:35 +00:00
Mike Brady 14b3fc4de8 Fix endless error messages. 2022-12-14 10:30:22 +00:00
Mike BradyandGitHub 6240fd8370 Update check_ap2_systemd_full.yml
Build on the danger branch too.
2022-12-14 10:27:47 +00:00
Mike BradyandGitHub a407352061 Update check_classic_systemd_full.yml
Run on the danger branch too.
2022-12-14 10:26:44 +00:00
Mike BradyandGitHub 51b9c5989c Update BUILD.md 2022-12-14 10:17:24 +00:00
Mike BradyandGitHub db155abb64 Danger note. 2022-12-14 10:12:01 +00:00
Mike Brady 12586cd82e Bump the SHM Interface number to note new commands. 2022-12-13 09:29:58 +00:00
Mike Brady 3cdb8b790c 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. 2022-12-10 11:57:19 +00:00
Mike BradyandGitHub 4ca5a15de2 Update TROUBLESHOOTING.md 2022-12-08 09:37:59 +00:00
Mike Brady a732f5d306 4.4.1 2022-12-05 13:11:40 +00:00
Mike Brady eb4bdd9da3 Add man page to Docker images, add extra decoding to MQTT. 2022-12-05 11:53:39 +00:00
Mike BradyandGitHub a649a8ca2a Update RELEASENOTES-DEVELOPMENT.md 2022-12-05 11:49:23 +00:00
Mike BradyandGitHub 2261940944 Update RELEASENOTES-DEVELOPMENT.md 2022-12-05 11:48:43 +00:00
Mike Brady 8e5393ec42 Parse phbt/phb0 metddata tokens. 2022-12-05 11:37:22 +00:00
Mike Brady 712fc04734 Quieten a compiler warning. 2022-12-05 11:36:43 +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 02c0a159ce Tidy up a few messages and fix a new compilation warning. 2022-12-03 10:28:16 +00:00
Mike BradyandGitHub ef8664298e Update README.md 2022-12-02 12:14:15 +00:00