]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
19 months agoUpdate docker compose file 1812/head
HNKNTA [Mon, 26 Feb 2024 18:29:15 +0000 (20:29 +0200)] 
Update docker compose file

Added S6_KEEP_ENV to example, without it pulse connection won't happen

21 months agoUpdate stale.yaml
Mike Brady [Fri, 22 Dec 2023 20:10:10 +0000 (20:10 +0000)] 
Update stale.yaml

Set to 28 days.

23 months agoUpdate CAR INSTALL.md
Mike Brady [Sun, 15 Oct 2023 21:24:03 +0000 (22:24 +0100)] 
Update CAR INSTALL.md

23 months agoMerge branch 'development' 4.3.2
Mike Brady [Sun, 15 Oct 2023 17:20:18 +0000 (18:20 +0100)] 
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).

23 months agoUpdate CAR INSTALL.md
Mike Brady [Sun, 15 Oct 2023 07:32:02 +0000 (08:32 +0100)] 
Update CAR INSTALL.md

Add note about Bookworm

23 months agoUpdate CAR INSTALL.md
Mike Brady [Sun, 15 Oct 2023 07:30:25 +0000 (08:30 +0100)] 
Update CAR INSTALL.md

Add note about Bookworm

23 months agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 13 Oct 2023 06:56:30 +0000 (07:56 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

23 months agoChange response to a /feedback message in a Classic AirPlay session to 501 Not Implme...
Mike Brady [Fri, 13 Oct 2023 06:52:51 +0000 (07:52 +0100)] 
Change response to a /feedback message in a Classic AirPlay session to 501 Not Implmemented instead of 200 OK.

23 months agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 8 Oct 2023 16:49:35 +0000 (17:49 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

23 months agoReturn code 200 for a POST of type /feedback, and continue to return 500 for everythi...
Mike Brady [Sun, 8 Oct 2023 16:43:02 +0000 (17:43 +0100)] 
Return code 200 for a POST of type /feedback, and continue to return 500 for everything else.

23 months agoTypo
Mike Brady [Sun, 8 Oct 2023 16:40:43 +0000 (17:40 +0100)] 
Typo

2 years agoMerge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Fri, 6 Oct 2023 10:13:42 +0000 (11:13 +0100)] 
Merge branch 'development' of github.com:mikebrady/shairport-sync into development

Online update.

2 years agoMove the PipeWire stanza up in the configuration file.
Mike Brady [Fri, 6 Oct 2023 10:13:30 +0000 (11:13 +0100)] 
Move the PipeWire stanza up in the configuration file.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 6 Oct 2023 09:58:24 +0000 (10:58 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoAdd PipeWire sink target setting. Fix PipeWire node name code, duh, remove code that...
Mike Brady [Fri, 6 Oct 2023 09:51:49 +0000 (10:51 +0100)] 
Add PipeWire sink target setting. Fix PipeWire node name code, duh, remove code that was double-deallocating settings strings.

2 years agoRemove code that was double-deallocating settings strings.
Mike Brady [Fri, 6 Oct 2023 09:50:30 +0000 (10:50 +0100)] 
Remove code that was double-deallocating settings strings.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 5 Oct 2023 15:43:09 +0000 (16:43 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 5 Oct 2023 15:42:34 +0000 (16:42 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoChange node_name default to "Shairport Sync", parameterise a few settings.
Mike Brady [Thu, 5 Oct 2023 15:40:42 +0000 (16:40 +0100)] 
Change node_name default to "Shairport Sync", parameterise a few settings.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 5 Oct 2023 08:50:17 +0000 (09:50 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoAdd two PipeWire backend ("pw") settings -- application_name (default: "Shairport...
Mike Brady [Thu, 5 Oct 2023 08:41:21 +0000 (09:41 +0100)] 
Add two PipeWire backend ("pw") settings -- application_name (default: "Shairport Sync") and node_name (default: "shairport-sync").

2 years agoDeallocate settings strings on exit.
Mike Brady [Thu, 5 Oct 2023 08:39:22 +0000 (09:39 +0100)] 
Deallocate settings strings on exit.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 2 Oct 2023 09:13:01 +0000 (10:13 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 2 Oct 2023 09:12:31 +0000 (10:12 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoSend silence when no audio is coming through from Shairport Sync. This eliminates...
Mike Brady [Mon, 2 Oct 2023 09:06:55 +0000 (10:06 +0100)] 
Send silence when no audio is coming through from Shairport Sync. This eliminates (?) xrun errors. Clean up a few imprefections.

2 years agoQuieten a debug message.
Mike Brady [Mon, 2 Oct 2023 09:05:21 +0000 (10:05 +0100)] 
Quieten a debug message.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 1 Oct 2023 08:37:07 +0000 (09:37 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoComplete replacement of the PipeWire backend with a new implementation with full...
Mike Brady [Sun, 1 Oct 2023 08:30:29 +0000 (09:30 +0100)] 
Complete replacement of the PipeWire backend with a new implementation with full synchrnoisation. Works well, but still preliminary.

2 years agoStability improvements -- take more care when the fifi is full, fix a logical error...
Mike Brady [Sun, 1 Oct 2023 08:28:41 +0000 (09:28 +0100)] 
Stability improvements -- take more care when the fifi is full, fix a logical error in the use of the buffer mutex.

2 years agostop linker errors if built alongside audio_pa
Mike Brady [Sat, 30 Sep 2023 16:25:42 +0000 (17:25 +0100)] 
stop linker errors if built alongside audio_pa

2 years agoReplace the pipewire backend completely. Play writes to a buffer. The on_process...
Mike Brady [Sat, 30 Sep 2023 14:45:41 +0000 (15:45 +0100)] 
Replace the pipewire backend completely. Play writes to a buffer. The on_process() function reads from the buffer and updates timing information for the delay() function. Barebones -- can't set the app name or the volume. Assumes no further delays and no buffers when on_process is called. But it works!

2 years agomutex lock was protecting the wrong variable, duh.
Mike Brady [Sat, 30 Sep 2023 14:41:40 +0000 (15:41 +0100)] 
mutex lock was protecting the wrong variable, duh.

2 years agoFix potential bug if the timing data is inconsistent for 10 tries.
Mike Brady [Sat, 30 Sep 2023 14:40:40 +0000 (15:40 +0100)] 
Fix potential bug if the timing data is inconsistent for 10 tries.

2 years agoInitial tone-generator based pipewire backend compiling and apparently working, valgr...
Mike Brady [Fri, 29 Sep 2023 15:32:12 +0000 (16:32 +0100)] 
Initial tone-generator based pipewire backend compiling and apparently working, valgrind is happy too.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 29 Sep 2023 08:48:32 +0000 (09:48 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoDon't mute if the volume control is at minimum (-144.0) and ignore_volume_control...
Mike Brady [Fri, 29 Sep 2023 08:41:07 +0000 (09:41 +0100)] 
Don't mute if the volume control is at minimum (-144.0) and ignore_volume_control is seelcted.

2 years agoActually _do_ change the latency to 200000 in the PipeWire backend as previously...
Mike Brady [Wed, 27 Sep 2023 11:38:02 +0000 (12:38 +0100)] 
Actually _do_ change the latency to 200000 in the PipeWire backend as previously promied, duh.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 27 Sep 2023 09:53:07 +0000 (10:53 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoVery very rarely, the avahi client becomes disconnected.
Mike Brady [Wed, 27 Sep 2023 09:36:28 +0000 (10:36 +0100)] 
Very very rarely, the avahi client becomes disconnected.

This usually means there are problems in the system as a whole rahter than with Shairport Sync.

However, Shairport Sync was not cleaning up properly before deleting the now-disconnected avahi client and
creating a new one in an attempt to reconnect. That caused Shairport Sync to crash even if the new avahi client
was created successfully.

So this commit has code to delete the avahi group and broswer callback before deleting the disconnected avahi client.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 25 Sep 2023 15:23:34 +0000 (16:23 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoMake the pipewire latency 200000 (uS?) instead of 20000.
Mike Brady [Mon, 25 Sep 2023 15:19:32 +0000 (16:19 +0100)] 
Make the pipewire latency 200000 (uS?) instead of 20000.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 25 Sep 2023 08:42:23 +0000 (09:42 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoAdd missing arguments to some debug messages. They could potentially cause crashes...
Mike Brady [Mon, 25 Sep 2023 08:37:47 +0000 (09:37 +0100)] 
Add missing arguments to some debug messages. They could potentially cause crashes just when you need them to work properly, sigh!

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 24 Sep 2023 16:35:15 +0000 (17:35 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoWhen a connection termiates abruptly while is it the principal_conn, make sure it...
Mike Brady [Sun, 24 Sep 2023 16:22:22 +0000 (17:22 +0100)] 
When a connection termiates abruptly while is it the principal_conn, make sure it sets the principal_conn
to NULL and cleans up the bonjour flags, if appropriate.

Simplify the TEARDOWN handlers and the thress teardown functions by incporporating
the above code in the teardown_phase_two (for AP2) and teardown (fpr AP1) functions.

It means that closing a connection will block on the principal_conn_lock, so if
you have the principal_conn_lock, closing will not complete until you release it.

Maybe we need a principal_conn_acquisition_lock for that...

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 22 Sep 2023 14:08:47 +0000 (15:08 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoQuieten a debug message.
Mike Brady [Thu, 21 Sep 2023 16:28:03 +0000 (17:28 +0100)] 
Quieten a debug message.

2 years agoclang format
Mike Brady [Thu, 21 Sep 2023 15:45:22 +0000 (16:45 +0100)] 
clang format

2 years agoRemove a few debug messages.
Mike Brady [Thu, 21 Sep 2023 15:41:48 +0000 (16:41 +0100)] 
Remove a few debug messages.

2 years agoSet and reset bonjour flags correctly when it's a Classic Airplay session. Reintroduc...
Mike Brady [Thu, 21 Sep 2023 15:36:21 +0000 (16:36 +0100)] 
Set and reset bonjour flags correctly when it's a Classic Airplay session. Reintroduce a 1 second delay for the prempted session to go away.

2 years agoRemove redundant (and now faulty) check to see if the player is also principal conn.
Mike Brady [Thu, 21 Sep 2023 15:34:40 +0000 (16:34 +0100)] 
Remove redundant (and now faulty) check to see if the player is also principal conn.

2 years agoupdate to correspond with the move of principal_conn_lock to a pthread_rwlock.
Mike Brady [Thu, 21 Sep 2023 15:33:19 +0000 (16:33 +0100)] 
update to correspond with the move of  principal_conn_lock to a pthread_rwlock.

2 years agoChange principal_conn_lock from a regular mutex to a read-write mutex, so it can...
Mike Brady [Thu, 21 Sep 2023 15:04:23 +0000 (16:04 +0100)] 
Change principal_conn_lock from a regular mutex to a read-write mutex, so it can be used to check and hold the current principal_conn unless it's being altered in get_play_lock or a release_play_lock.
Only allow access to the config.airplay_statusflags, build_bonjour_strings(NULL), mdns_update(NULL, secondary_txt_records) when read_lock is acquired on the principal_conn_lock.
Only allow changes to config.airplay_statusflags and only allow access to mdns_update if you are the principal conn.

The bonjour status flags and the info response plist calculations are still a dirty rotten hack.

2 years agoAdd a pthread_cleanup compatible function to release a pthread_rwlock.
Mike Brady [Thu, 21 Sep 2023 14:50:43 +0000 (15:50 +0100)] 
Add a pthread_cleanup compatible function to release a pthread_rwlock.

2 years agomove the declaration of principal_conn_lock from player.h to rtsp.h where it should be.
Mike Brady [Thu, 21 Sep 2023 14:49:25 +0000 (15:49 +0100)] 
move the declaration of principal_conn_lock from player.h to rtsp.h where it should be.

2 years agoFix a benign warning from Clang 16 on FreeBSD
Mike Brady [Wed, 20 Sep 2023 10:46:38 +0000 (11:46 +0100)] 
Fix a benign warning from Clang 16 on FreeBSD

2 years agoFix warning picked up on FreeBSD15
Mike Brady [Wed, 20 Sep 2023 10:32:26 +0000 (11:32 +0100)] 
Fix warning picked up on FreeBSD15

2 years agoUpdate workflows.
Mike Brady [Tue, 19 Sep 2023 12:34:56 +0000 (13:34 +0100)] 
Update workflows.

2 years agoUpdate docker-build-on-tag.yaml
Mike Brady [Tue, 19 Sep 2023 12:26:43 +0000 (13:26 +0100)] 
Update docker-build-on-tag.yaml

2 years agoUpdate docker-build-on-push_and_pull_request.yaml
Mike Brady [Tue, 19 Sep 2023 12:26:17 +0000 (13:26 +0100)] 
Update docker-build-on-push_and_pull_request.yaml

2 years agoUpdate check_classic_systemd_basic.yml
Mike Brady [Tue, 19 Sep 2023 12:25:28 +0000 (13:25 +0100)] 
Update check_classic_systemd_basic.yml

2 years agoUpdate check_classic_mac_basic.yml
Mike Brady [Tue, 19 Sep 2023 12:25:00 +0000 (13:25 +0100)] 
Update check_classic_mac_basic.yml

2 years agoUpdate check_ap2_systemv_full.yml
Mike Brady [Tue, 19 Sep 2023 12:23:56 +0000 (13:23 +0100)] 
Update check_ap2_systemv_full.yml

2 years agoUpdate check_ap2_systemd_full_build_folder.yml
Mike Brady [Tue, 19 Sep 2023 12:22:35 +0000 (13:22 +0100)] 
Update check_ap2_systemd_full_build_folder.yml

2 years agoUpdate check_ap2_systemd_full_build_folder.yml
Mike Brady [Tue, 19 Sep 2023 12:22:06 +0000 (13:22 +0100)] 
Update check_ap2_systemd_full_build_folder.yml

2 years agoUpdate check_ap2_systemd_basic.yml
Mike Brady [Tue, 19 Sep 2023 12:21:04 +0000 (13:21 +0100)] 
Update check_ap2_systemd_basic.yml

2 years agoUpdate check_ap2_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 12:20:23 +0000 (13:20 +0100)] 
Update check_ap2_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 12:17:55 +0000 (13:17 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 12:11:15 +0000 (13:11 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 12:09:26 +0000 (13:09 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 12:08:37 +0000 (13:08 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 12:03:14 +0000 (13:03 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:59:38 +0000 (12:59 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:57:36 +0000 (12:57 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:55:05 +0000 (12:55 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:53:43 +0000 (12:53 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:51:53 +0000 (12:51 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:50:01 +0000 (12:50 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:48:41 +0000 (12:48 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:47:23 +0000 (12:47 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_ap2_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 11:22:55 +0000 (12:22 +0100)] 
Update check_ap2_systemd_full.yml

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 19 Sep 2023 11:06:19 +0000 (12:06 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoMerge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Tue, 19 Sep 2023 11:00:58 +0000 (12:00 +0100)] 
Merge branch 'development' of github.com:mikebrady/shairport-sync into development

online updates

2 years agobump version number
Mike Brady [Tue, 19 Sep 2023 11:00:43 +0000 (12:00 +0100)] 
bump version number

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 10:59:08 +0000 (11:59 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 10:55:48 +0000 (11:55 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_classic_systemd_full.yml
Mike Brady [Tue, 19 Sep 2023 10:51:45 +0000 (11:51 +0100)] 
Update check_classic_systemd_full.yml

2 years agoUpdate check_ap2_systemd_full_build_folder.yml
Mike Brady [Tue, 19 Sep 2023 10:40:09 +0000 (11:40 +0100)] 
Update check_ap2_systemd_full_build_folder.yml

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 19 Sep 2023 10:35:22 +0000 (11:35 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoSet debug verbosity to 2 when the client closes the connection. 4.3.2-dev
Mike Brady [Tue, 19 Sep 2023 10:28:45 +0000 (11:28 +0100)] 
Set debug verbosity to 2 when the client closes the connection.

2 years agoTidy up some code and add diagnostics to tackle issue #1723.
Mike Brady [Mon, 18 Sep 2023 18:51:36 +0000 (19:51 +0100)] 
Tidy up some code and add diagnostics to tackle issue #1723.

2 years agoUpdate RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 17 Sep 2023 14:35:02 +0000 (15:35 +0100)] 
Update RELEASENOTES-DEVELOPMENT.md

2 years agoFix a bug that prevented Shairport Sync being added to Home. 4.3.1
Mike Brady [Sun, 17 Sep 2023 14:24:42 +0000 (15:24 +0100)] 
Fix a bug that prevented Shairport Sync being added to Home.

2 years agoupdate/correct configure.ac version info 4.3.1-dev
Mike Brady [Sun, 17 Sep 2023 14:22:15 +0000 (15:22 +0100)] 
update/correct configure.ac version info

2 years agoFix a bug that prevented Shairport Sync being added to Home.
Mike Brady [Sun, 17 Sep 2023 13:30:02 +0000 (14:30 +0100)] 
Fix a bug that prevented Shairport Sync being added to Home.

2 years agoActually make 4.2.1 4.3, since there have been enhancements. 4.3
Mike Brady [Sat, 16 Sep 2023 17:50:41 +0000 (18:50 +0100)] 
Actually make 4.2.1 4.3, since there have been enhancements.

2 years agoMerge updates from the development branch into the master branch as 4.2.1
Mike Brady [Sat, 16 Sep 2023 17:20:12 +0000 (18:20 +0100)] 
Merge updates from the development branch into the master branch as 4.2.1

2 years agoUpdates to the Issues template.
Mike Brady [Sat, 16 Sep 2023 17:04:58 +0000 (18:04 +0100)] 
Updates to the Issues template.

2 years agoComment update
Mike Brady [Mon, 11 Sep 2023 19:03:16 +0000 (20:03 +0100)] 
Comment update

2 years agoin the docker build process, skip the make install for nqptp and take the binary...
Mike Brady [Mon, 11 Sep 2023 16:46:00 +0000 (17:46 +0100)] 
in the docker build process, skip the make install for nqptp and take the binary of nqptp from where it is built