Commit Graph
5850 Commits
Author SHA1 Message Date
Mike Brady 6c6d284f8b Merge pull request #1793 from klemensn/control-socket
Connect to NQPTP control socket on localhost
2024-01-29 16:23:31 +00:00
Mike Brady b80d0720ba Merge pull request #1782 from vs49688/master
Makefile.am: allow manually installing config files
2024-01-29 14:40:56 +00:00
Zane van Iperen ec3b5ffca2 Makefile.am: allow manually installing config files
Adds a "install-config-files" Makefile target that installs the config
files and dbus policies to DESTDIR=, regardless of whether
--with{,out}-configfiles is specified.
2024-01-29 02:33:53 +10:00
Klemens Nanni 6dd311a1a8 Connect to NQPTP control socket on localhost
nqptp.c listens on "localhost", but shairport-sync connectes to the wildcard
address 0/0.  This apparently works on Linux and FreeBSD, but OpenBSD fails:

```
$ ktrace shairport-sync -v -u
[...]
         0.000038288 "ptp-utilities.c:243" *fatal error: error sending timing_peer_list to NQPTP
         0.000021868 "shairport.c:1728" emergency exit
$ kdump
[...]
  2319 shairport-sync STRU  struct sockaddr { AF_INET, 0.0.0.0:9000 }
  2319 shairport-sync RET   sendto -1 errno 51 Network is unreachable
[...]
```

Resolve and connect to "localhost" just like NQPTP does, resulting in
127.0.0.1 or ::1 as socket addresses.

This is required to run when configured `--with-airplay-2`.
Tested on OpenBSD/amd64 7.4-current with shairport-sync 2.4.3 and nqptp
1.2.5-dev cfa8315 (plus OpenBSD fixes).

I expect Linux and FreeBSD to work as before, but have not tested it.
2024-01-27 18:56:26 +01:00
Mike Brady e36ec5c45d Quieten some debug messages. 2023-11-12 11:50:21 +00:00
Mike Brady 9f54a75127 Update RELEASENOTES-DEVELOPMENT.md 2023-11-06 11:15:58 +00:00
Mike Brady 7e7414658f Update CAR INSTALL.md 2023-11-06 11:07:06 +00:00
Mike Brady 5f9a88fb74 Use pthread_rwlock_wrlock instead of the incorrect use of pthread_rdlock_wrlock when tearing down a connection. 2023-10-31 09:01:24 +00:00
Mike Brady d8c741e391 Update RELEASENOTES-DEVELOPMENT.md 2023-10-30 17:51:52 +00:00
Mike Brady 9ab85989f3 A bit late, but tag this as 4.3.3-dev. Also merge in the commit history of the master branch. 2023-10-30 17:46:12 +00:00
Mike Brady 04c8c01452 merge back in 4.3.2, a bit lae... 2023-10-30 17:32:43 +00:00
Mike Brady 84a214d4d0 Update CAR INSTALL.md 2023-10-30 17:07:28 +00:00
Mike Brady 40306cc742 Update CAR INSTALL.md 2023-10-23 15:10:54 +01:00
Mike Brady bc363160ba Update CAR INSTALL.md 2023-10-23 14:49:02 +01:00
Mike Brady 95d81341c9 Update RELEASENOTES-DEVELOPMENT.md 2023-10-23 11:48:13 +01:00
Mike Brady 31d24a89ca Update RELEASENOTES-DEVELOPMENT.md 2023-10-23 11:46:20 +01:00
Mike Brady a760389346 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online updates.
2023-10-23 11:42:04 +01:00
Mike Brady 626f986a18 Stop some warnings during build for Docker. 2023-10-23 11:41:20 +01:00
Mike Brady 1d8a509ed7 Update RELEASENOTES-DEVELOPMENT.md 2023-10-23 10:18:12 +01:00
Mike Brady c9c9033261 Update RELEASENOTES-DEVELOPMENT.md 2023-10-23 10:17:33 +01:00
Mike Brady 2a5c49d3c1 Bookworm and simplifications
Update for Bookworm and make some simplifications.
2023-10-23 10:07:53 +01:00
Mike Brady fef5adaf54 Update CAR INSTALL.md
Update for Bookworm and simplify some steps. Add some information about updating.
2023-10-22 13:06:45 +01:00
Mike Brady 23946b53b3 Update CAR INSTALL.md 2023-10-15 22:24:50 +01:00
Mike Brady 90c03bf053 Update CAR INSTALL.md 2023-10-15 22:24:03 +01:00
Mike Brady 2ed5d998fb Merge branch 'development'
Update to 4.3.2
**Enhancements**
* A totally new PipeWire backend featuring full synchronisation.

**Bug Fixes**
* Stability improvements for the PulseAudio backend.
* Fix a crash when the Avahi subsystem became disconnected. This is normally a rare occurrence, but Shairport Sync was not dereferencing obsolete data correctly when it happened.
* Set and reset Bonjour flags correctly when it's a Classic Airplay session in AirPlay 2 operation.
* Fix a number of FreeBSD compilation errors and warnings.
* Fix various errors when breaking into an existing session to terminate it. Thanks again to [aaronk6](https://github.com/aaronk6).
* Fix some debug message errors, sigh. Thanks to [Nathan Gray](https://github.com/n8gray).
2023-10-15 18:42:38 +01:00
Mike Brady 9732afb58f Update CAR INSTALL.md
Add note about Bookworm
2023-10-15 08:32:02 +01:00
Mike Brady 728756a1a1 Update CAR INSTALL.md
Add note about Bookworm
2023-10-15 08:30:25 +01:00
Mike Brady a65ec2d7f1 Update RELEASENOTES-DEVELOPMENT.md 2023-10-13 07:56:30 +01:00
Mike Brady b70dd4633f Change response to a /feedback message in a Classic AirPlay session to 501 Not Implmemented instead of 200 OK. 2023-10-13 07:52:51 +01:00
Mike Brady 3298f42a52 Update RELEASENOTES-DEVELOPMENT.md 2023-10-08 17:49:35 +01:00
Mike Brady 4cd3c1da4b Return code 200 for a POST of type /feedback, and continue to return 500 for everything else. 2023-10-08 17:43:02 +01:00
Mike Brady f3e0ddf297 Typo 2023-10-08 17:40:43 +01:00
Mike Brady 6d89e4c4c1 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online update.
2023-10-06 11:13:42 +01:00
Mike Brady 7aaaf0c96d Move the PipeWire stanza up in the configuration file. 2023-10-06 11:13:30 +01:00
Mike Brady 07c9cc2d64 Update RELEASENOTES-DEVELOPMENT.md 2023-10-06 10:58:24 +01:00
Mike Brady 98679bbb54 Add PipeWire sink target setting. Fix PipeWire node name code, duh, remove code that was double-deallocating settings strings. 2023-10-06 10:51:49 +01:00
Mike Brady 420fe4ca7e Remove code that was double-deallocating settings strings. 2023-10-06 10:50:30 +01:00
Mike Brady d7b365597a Update RELEASENOTES-DEVELOPMENT.md 2023-10-05 16:43:09 +01:00
Mike Brady b0a2fe14ec Update RELEASENOTES-DEVELOPMENT.md 2023-10-05 16:42:34 +01:00
Mike Brady 288e5eb695 Change node_name default to "Shairport Sync", parameterise a few settings. 2023-10-05 16:40:42 +01:00
Mike Brady 16dd54e80a Update RELEASENOTES-DEVELOPMENT.md 2023-10-05 09:50:17 +01:00
Mike Brady 3763b321b8 Add two PipeWire backend ("pw") settings -- application_name (default: "Shairport Sync") and node_name (default: "shairport-sync"). 2023-10-05 09:41:21 +01:00
Mike Brady 3db689f9e8 Deallocate settings strings on exit. 2023-10-05 09:39:22 +01:00
Mike Brady d9c7f0aeb1 Update RELEASENOTES-DEVELOPMENT.md 2023-10-02 10:13:01 +01:00
Mike Brady 57382cdecb Update RELEASENOTES-DEVELOPMENT.md 2023-10-02 10:12:31 +01:00
Mike Brady dc197ae711 Send silence when no audio is coming through from Shairport Sync. This eliminates (?) xrun errors. Clean up a few imprefections. 2023-10-02 10:06:55 +01:00
Mike Brady 29a5589be6 Quieten a debug message. 2023-10-02 10:05:21 +01:00
Mike Brady 4447b25a05 Update RELEASENOTES-DEVELOPMENT.md 2023-10-01 09:37:07 +01:00
Mike Brady bde2bcc8b4 Complete replacement of the PipeWire backend with a new implementation with full synchrnoisation. Works well, but still preliminary. 2023-10-01 09:30:29 +01:00
Mike Brady afdf0d8632 Stability improvements -- take more care when the fifi is full, fix a logical error in the use of the buffer mutex. 2023-10-01 09:28:41 +01:00