]>
git.ipfire.org Git - thirdparty/shairport-sync.git/log
Charles [Mon, 27 Dec 2021 00:14:55 +0000 (00:14 +0000)]
Fix for dbus restart.
Mike Brady [Fri, 24 Dec 2021 12:45:21 +0000 (12:45 +0000)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Documentation Update
Mike Brady [Fri, 24 Dec 2021 12:45:00 +0000 (12:45 +0000)]
Brown bag
Mike Brady [Fri, 24 Dec 2021 12:33:28 +0000 (12:33 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 24 Dec 2021 11:22:27 +0000 (11:22 +0000)]
Update the documentation a little.
Mike Brady [Fri, 24 Dec 2021 11:03:19 +0000 (11:03 +0000)]
Allow the airplay_device_id to be varied either by adding an offset or by replacing it completely.
Mike Brady [Fri, 24 Dec 2021 10:20:44 +0000 (10:20 +0000)]
Merge pull request #1384 from ccutrer/mqtt_metadata
Some MQTT metadata improvements. Add a few more "parsed" messages: active_remote_id, dacp_id, server_ip.
Many thanks.
Mike Brady [Fri, 24 Dec 2021 10:15:56 +0000 (10:15 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 24 Dec 2021 10:13:48 +0000 (10:13 +0000)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Documentation Update.
Mike Brady [Fri, 24 Dec 2021 10:13:25 +0000 (10:13 +0000)]
Stop generating an airplay_device_id dynamically. Base it on a fixed MAC address (not necessarily the active one).
Cody Cutrer [Fri, 24 Dec 2021 02:07:09 +0000 (19:07 -0700)]
some MQTT metadata improvements
document some more of the fields that can come through, and add
a few more "parsed" messages:
* active_remote_id
* dacp_id
* server_ip
Mike Brady [Thu, 23 Dec 2021 19:20:46 +0000 (19:20 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 23 Dec 2021 19:17:34 +0000 (19:17 +0000)]
Be more careful to create default file names based on the name of the app. Create the airplay_device_id in a way that includes the PID.
Mike Brady [Thu, 23 Dec 2021 19:15:17 +0000 (19:15 +0000)]
Make the hw_addr 8 bytes long to that it can be read from as a 64-bit number.
Mike Brady [Wed, 22 Dec 2021 18:08:49 +0000 (18:08 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 22 Dec 2021 15:32:03 +0000 (15:32 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 22 Dec 2021 15:28:36 +0000 (15:28 +0000)]
Merge pull request #1381 from michaeldeborst/patch1
Slight edits to readme to include additional clarity on the available experimental docker images.
Thans Michael!
Mike Brady [Wed, 22 Dec 2021 15:28:11 +0000 (15:28 +0000)]
Merge branch 'development' into patch1
Mike Brady [Wed, 22 Dec 2021 15:23:55 +0000 (15:23 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 22 Dec 2021 15:16:24 +0000 (15:16 +0000)]
Merge pull request #1378 from charlesomer/development
Automated docker tagging & s6-overlay implementation.
Thanks Charles!
Mike Brady [Wed, 22 Dec 2021 13:47:49 +0000 (13:47 +0000)]
Quieten a few debug mssages, slightly shorten the minimum lead time needed for good initial sync.
Charles [Tue, 21 Dec 2021 23:49:32 +0000 (23:49 +0000)]
Merge branch 'mikebrady:development' into development
Michael [Tue, 21 Dec 2021 20:20:46 +0000 (21:20 +0100)]
main readme edit for docker reference
Michael [Tue, 21 Dec 2021 20:20:19 +0000 (21:20 +0100)]
main development repo readme edit.
Michael [Tue, 21 Dec 2021 20:18:46 +0000 (21:18 +0100)]
edited docker readme to include clarity on different tag.
Mike Brady [Tue, 21 Dec 2021 16:28:38 +0000 (16:28 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Tue, 21 Dec 2021 15:32:16 +0000 (15:32 +0000)]
Adjust the time needed to allow the clock to settle and the lead time.
Mike Brady [Tue, 21 Dec 2021 15:18:14 +0000 (15:18 +0000)]
Look for 0.15 seconds of a lead time...
Mike Brady [Tue, 21 Dec 2021 15:04:15 +0000 (15:04 +0000)]
Flush if the first packet is less than 100 ms in the future.
Mike Brady [Tue, 21 Dec 2021 15:03:28 +0000 (15:03 +0000)]
Wait for 300 secodns before complaining about the age of a sync.
Mike Brady [Tue, 21 Dec 2021 15:02:43 +0000 (15:02 +0000)]
Send an empty timing list when a player is acquired.
Charles [Mon, 20 Dec 2021 23:57:12 +0000 (23:57 +0000)]
Automated docker tagging & s6-overlay implementation.
Mike Brady [Mon, 20 Dec 2021 12:15:59 +0000 (12:15 +0000)]
Set the minimum bus mastership time to two seconds. Turn on a debug message.
Mike Brady [Sun, 19 Dec 2021 16:16:45 +0000 (16:16 +0000)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Documentation update.
Mike Brady [Thu, 16 Dec 2021 11:12:51 +0000 (11:12 +0000)]
Update sample dbus commands
Mike Brady [Thu, 16 Dec 2021 09:47:50 +0000 (09:47 +0000)]
slightly simplify function generate_preliminary_string.
Mike Brady [Tue, 14 Dec 2021 16:26:46 +0000 (16:26 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 12 Dec 2021 13:30:31 +0000 (13:30 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 12 Dec 2021 13:28:10 +0000 (13:28 +0000)]
Begin to try to figure out how to respond to remote control connections.
Mike Brady [Sun, 12 Dec 2021 12:57:07 +0000 (12:57 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 12 Dec 2021 12:53:40 +0000 (12:53 +0000)]
Make debug messages easier to see on macOS Terminal.
Mike Brady [Fri, 10 Dec 2021 13:07:20 +0000 (13:07 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 10 Dec 2021 12:29:30 +0000 (12:29 +0000)]
Update MOREINFO.md
Mike Brady [Fri, 10 Dec 2021 12:16:43 +0000 (12:16 +0000)]
Update MOREINFO.md
Mike Brady [Fri, 10 Dec 2021 11:31:01 +0000 (11:31 +0000)]
Update MOREINFO.md
Mike Brady [Fri, 10 Dec 2021 11:25:12 +0000 (11:25 +0000)]
Update MOREINFO.md
Mike Brady [Fri, 10 Dec 2021 09:21:34 +0000 (09:21 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 10 Dec 2021 09:15:30 +0000 (09:15 +0000)]
Only include code to modify the RTSP buffer length if metadata support is included in the configuration.
Mike Brady [Thu, 9 Dec 2021 15:16:54 +0000 (15:16 +0000)]
Update BUILDFORAP2.md
Mike Brady [Thu, 9 Dec 2021 14:36:58 +0000 (14:36 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Thu, 9 Dec 2021 14:17:42 +0000 (14:17 +0000)]
Merge branch 'mptre-master' into development
Thanks to Anton Lindqvist (https://github.com/mptre) for this PR.
Mike Brady [Thu, 9 Dec 2021 14:16:37 +0000 (14:16 +0000)]
Merge "openbsd corrections #1357" after resolving one conflict.
Mike Brady [Wed, 8 Dec 2021 22:37:09 +0000 (22:37 +0000)]
Update AIRPLAY2.md
Mike Brady [Wed, 8 Dec 2021 22:32:40 +0000 (22:32 +0000)]
Merge pull request #1356 from tecdude/patch-1
Update AIRPLAY2.md
Mike Brady [Wed, 8 Dec 2021 17:33:52 +0000 (17:33 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 8 Dec 2021 17:29:05 +0000 (17:29 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 8 Dec 2021 12:05:52 +0000 (12:05 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Mike Brady [Wed, 8 Dec 2021 11:59:09 +0000 (11:59 +0000)]
Add update to ejurgensen's pair_ap library. Thanks as always.
Mike Brady [Wed, 8 Dec 2021 10:30:12 +0000 (10:30 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Copy in new developments.
Mike Brady [Wed, 8 Dec 2021 09:56:34 +0000 (09:56 +0000)]
Merge pull request #1367 from Lorilandly/development
fixed dependency on the `xxd` tool.
Thanks. I don't know how I missed that!
Lori Li [Wed, 8 Dec 2021 02:27:00 +0000 (11:27 +0900)]
fixed dependency
Mike Brady [Tue, 7 Dec 2021 21:36:56 +0000 (21:36 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Memory leak fixes, move play lock to the first setup, hold the timing peer list until a full teardown.
Mike Brady [Tue, 7 Dec 2021 21:34:53 +0000 (21:34 +0000)]
Add client and server ip metadata for AP2. Remove timing peer list and DACP code only for a full AP2 teardown.
Mike Brady [Tue, 7 Dec 2021 20:34:23 +0000 (20:34 +0000)]
Fix another memory leak.
Mike Brady [Tue, 7 Dec 2021 20:29:00 +0000 (20:29 +0000)]
Add a bogus exit for AP1 to make it easier to evaluate valgrind results.
Mike Brady [Tue, 7 Dec 2021 20:05:37 +0000 (20:05 +0000)]
Another memory leak.
Mike Brady [Tue, 7 Dec 2021 19:58:00 +0000 (19:58 +0000)]
Fix a few more memory leaks
Mike Brady [Tue, 7 Dec 2021 19:37:01 +0000 (19:37 +0000)]
Possibly fix a few memory leaks. Add a bogus exit to allow SPS to quit at the end of a play session, to make it easier to use valgrind.
Mike Brady [Tue, 7 Dec 2021 17:50:08 +0000 (17:50 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
A few small changes.
Mike Brady [Tue, 7 Dec 2021 17:49:04 +0000 (17:49 +0000)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Merge.
Mike Brady [Tue, 7 Dec 2021 17:47:45 +0000 (17:47 +0000)]
Stop checking that the timing peers are within the same subnet.
Mike Brady [Tue, 7 Dec 2021 17:37:16 +0000 (17:37 +0000)]
Quieten a few debug messasges.
Mike Brady [Tue, 7 Dec 2021 15:09:05 +0000 (15:09 +0000)]
stop removing the play lock at the end of a play session. That's the job of the rtsp thread.
Mike Brady [Tue, 7 Dec 2021 15:08:16 +0000 (15:08 +0000)]
quieten a debug message
Mike Brady [Tue, 7 Dec 2021 12:09:49 +0000 (12:09 +0000)]
Look for at least 0.1 seconds of leadtime, ensure a master clock is at least 0.275 seconds old before use, quieten a few debug messages.
Mike Brady [Tue, 7 Dec 2021 09:59:14 +0000 (09:59 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Just checking.
Mike Brady [Mon, 6 Dec 2021 18:45:25 +0000 (18:45 +0000)]
Clang Format
Mike Brady [Mon, 6 Dec 2021 18:16:57 +0000 (18:16 +0000)]
Add txtAirPlay data to info response. Don't pause long RTSP message reception.
Mike Brady [Mon, 6 Dec 2021 18:14:23 +0000 (18:14 +0000)]
Don't ask for cover art if not asking for metadata too. Duh.
Mike Brady [Mon, 6 Dec 2021 18:13:20 +0000 (18:13 +0000)]
Skip some invalid AAC packets, don't decode outdated frames, wait for timing information to be valid.
Mike Brady [Mon, 6 Dec 2021 18:09:29 +0000 (18:09 +0000)]
Wait for that mutex for longer. (Don't know why yet...)
Mike Brady [Mon, 6 Dec 2021 18:08:35 +0000 (18:08 +0000)]
Remember to add some exta fields later...
Mike Brady [Mon, 6 Dec 2021 18:03:42 +0000 (18:03 +0000)]
Stop clearing the timing peer list and stop removing the anchor clock info.
Mike Brady [Mon, 6 Dec 2021 15:48:03 +0000 (15:48 +0000)]
Merge pull request #1362 from mptre/mutex
Avoid a recursive mutex acquisition in the `sndio` backend.
Anton Lindqvist [Fri, 3 Dec 2021 19:45:51 +0000 (20:45 +0100)]
avoid recursive mutex acquisition in sndio backend
Ending a RTSP session while running on OpenBSD using sndio backend causes the
following crash:
#0 thrkill ()
#1 0x000005208224403e in _libc_abort
#2 0x00000520821b77be in _rthread_mutex_trylock
#3 _rthread_mutex_timedlock
#4 0x0000051e0d54e2c0 in stop ()
#5 0x0000051e0d544e85 in player_thread_cleanup_handler
#6 0x0000052082243126 in _libc_pthread_exit
#7 0x000005209a158700 in sigthr_handler
#8 <signal handler called>
#9 _thread_sys_poll ()
#10 0x000005208223533e in _libc_poll_cancel
#11 0x00000520df54c9a0 in sio_psleep
#12 0x00000520df54cc1f in sio_write
#13 0x0000051e0d54e27a in play
#14 0x0000051e0d547fc0 in player_thread_func
#15 0x000005209a158cc1 in _rthread_start
#16 0x000005208223565a in __tfork_thread
The player thread is blocking inside sio_write() -> poll(2) while the thread is
being terminated. The stop routine tied to the same backend is invoked through
player_thread_cleanup_handler() which tries to acquire the mutex which it
already acquired before invoking sio_write(). Avoiding blocking writes would
require switching to async I/O which is quite an undertaking.
The fact that there's only one `struct sio_hdl *' instance in the compilation
unit sort of implies there can only be one player thread at a time. Therefore
fix the crash by only trying to acquire the mutex and continue as usual if it's
already acquired.
Anton Lindqvist [Sun, 5 Dec 2021 08:00:23 +0000 (09:00 +0100)]
add missing includes on openbsd
Anton Lindqvist [Thu, 2 Dec 2021 11:07:55 +0000 (12:07 +0100)]
do not pass null to printf
OpenBSD issues a warning using syslog whenever NULL is passed as a variadic
argument to the printf-like family of functions.
Anton Lindqvist [Thu, 2 Dec 2021 11:07:14 +0000 (12:07 +0100)]
configure: openbsd is supported
Anton Lindqvist [Thu, 2 Dec 2021 10:57:40 +0000 (11:57 +0100)]
configure: fix handling of non linux operating systems
The OS whitelist conditional is malformed due to missing test(1) commands
causing the following error to be emitted during configure while using something
other than Linux:
../configure[3340]: xopenbsd: not found
Instead, favor a switch statement which makes the line a bit shorter as well.
Also, the AC_MSG_ERROR argument must be wrapped in brackets due to presence of a
comma. Otherwise, the tail will be interpreted as an additional argument.
Mike Brady [Thu, 2 Dec 2021 11:19:52 +0000 (11:19 +0000)]
clang format only
Mike Brady [Thu, 2 Dec 2021 11:17:59 +0000 (11:17 +0000)]
Set the timing peer list as soon as a SETPEERS message is received -- don't wait until play is about to begin. Not sure if it works universally yet.
Mike Brady [Thu, 2 Dec 2021 11:16:00 +0000 (11:16 +0000)]
Tidy up the statistics printout table and stop outputting (non existent) nominal fps for AP2 Realtime Streams.
Mike Brady [Wed, 1 Dec 2021 17:58:22 +0000 (17:58 +0000)]
Use PKG_CHECK_MODULES to find libavcodec, to make it work with Fedora 35 (?)
tecdude [Wed, 1 Dec 2021 17:16:15 +0000 (17:16 +0000)]
Update AIRPLAY2.md
Mike Brady [Wed, 1 Dec 2021 09:01:31 +0000 (09:01 +0000)]
Change behaviour after an unrecoverable error -- if not handled, exit Shairport Sync.
Mike Brady [Sun, 28 Nov 2021 21:51:26 +0000 (21:51 +0000)]
log statsistics headers whenever verbosity goes on or off or whenever statistics are requested
Mike Brady [Sun, 28 Nov 2021 16:13:32 +0000 (16:13 +0000)]
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Mike Brady [Sun, 28 Nov 2021 16:08:48 +0000 (16:08 +0000)]
Use CLOCK_MONOLITHIC_RAW to avoid NTP effects, report raw and corrected timing from audio_alsa. Clean up statistics. Stop watchdog timing out AP2 sessions. CLean up some debug messages.
Mike Brady [Fri, 26 Nov 2021 18:02:23 +0000 (18:02 +0000)]
Clang format
Mike Brady [Fri, 26 Nov 2021 18:01:36 +0000 (18:01 +0000)]
Quieten some debug messages.