Commit Graph
5577 Commits
Author SHA1 Message Date
Christian König 5391dc3c4b Add Dependabot
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-15 10:08:13 +02:00
Christian König ada0b58d62 Update github actions
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-15 10:07:24 +02: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 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
hunhejjandKristof Hejj 16af2d2c4c Fix MQTT active start / active end examples
The payload for `active start` & `active end` is not empty but `--`. Fix the examples accordingly.
2023-03-13 21:18:43 +01:00
hunhejjandKristof Hejj c62ae679f3 Migrate to new HA mqtt configuration
The old way of configuring mqtt entities is not supported anymore since `v2022.12`
2023-03-13 21:15:15 +01: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
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
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
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
Christian König bea0faf488 Update Dockerfiles
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-02-01 14:10:06 +01: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