]>
git.ipfire.org Git - thirdparty/shairport-sync.git/log
Lori Li [Wed, 8 Dec 2021 02:27:00 +0000 (11:27 +0900)]
fixed dependency
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.
Mike Brady [Fri, 26 Nov 2021 17:41:01 +0000 (17:41 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 26 Nov 2021 17:28:20 +0000 (17:28 +0000)]
Merge pull request #1346 from fwcd/libplist-configure-fix
Try finding libplist as libplist-2.0 on Linux too.
fwcd [Wed, 24 Nov 2021 15:21:34 +0000 (16:21 +0100)]
Try finding libplist as libplist-2.0 on Linux too
Mike Brady [Sun, 14 Nov 2021 15:03:19 +0000 (15:03 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 14 Nov 2021 14:13:31 +0000 (14:13 +0000)]
Update to the latest version of ejurgensen's pair_ap library. With thanks.
Mike Brady [Sun, 14 Nov 2021 11:43:16 +0000 (11:43 +0000)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 14 Nov 2021 11:18:39 +0000 (11:18 +0000)]
Fix a bug by ensuring certain ap2 variables are initialised by the player thread.
Mike Brady [Mon, 1 Nov 2021 08:46:21 +0000 (08:46 +0000)]
Merge pull request #1326 from a-x-/patch-2
typo(MQTT): Please not -> Please note
Alexander Mextner [Mon, 1 Nov 2021 06:18:57 +0000 (09:18 +0300)]
typo(MQTT): Please not -> Please note
Mike Brady [Sun, 24 Oct 2021 12:25:35 +0000 (13:25 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Sun, 24 Oct 2021 12:10:23 +0000 (13:10 +0100)]
Merge pull request #1314 from ffontaine/development
configure.ac: fix build with automake 1.16.5
Many thanks!
Mike Brady [Sun, 24 Oct 2021 10:37:10 +0000 (11:37 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot some online documentation updates.
Mike Brady [Sun, 24 Oct 2021 10:36:40 +0000 (11:36 +0100)]
slight tidying up
Mike Brady [Sun, 24 Oct 2021 10:28:46 +0000 (11:28 +0100)]
Update BUILDFORAP2.md
Mike Brady [Fri, 22 Oct 2021 18:52:36 +0000 (19:52 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 22 Oct 2021 18:36:31 +0000 (19:36 +0100)]
Return 501 "Not Implemented" for unexpected RTSP commands -- it seems to work better. The old code, 400, didn't seem to get the required response.
Fabrice Fontaine [Fri, 15 Oct 2021 06:20:12 +0000 (08:20 +0200)]
configure.ac: fix build with automake 1.16.5
Fix the following build failure with convolution raised since automake
1.16.5 and
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=
f4a3a70f69e1dbccb6578f39ef47835098a04624 :
configure.ac:305: error: AM_INIT_AUTOMAKE expanded multiple times
/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:6: the top level
/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:305: the top level
Fixes:
- http://autobuild.buildroot.org/results/
464148bdccb705d8992dc860262bfdeb01b7e2a1
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Mike Brady [Mon, 11 Oct 2021 17:04:33 +0000 (19:04 +0200)]
Update BUILDFORAP1.md
Mike Brady [Wed, 29 Sep 2021 09:08:49 +0000 (10:08 +0100)]
Forgot some documentation updates online.
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Wed, 29 Sep 2021 09:08:22 +0000 (10:08 +0100)]
Quieten some debug messages.
Mike Brady [Wed, 29 Sep 2021 08:39:07 +0000 (09:39 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Wed, 29 Sep 2021 08:31:13 +0000 (09:31 +0100)]
Quieten a few debug messages.
Mike Brady [Wed, 29 Sep 2021 08:26:46 +0000 (09:26 +0100)]
Honour the volume_range_db with a hardware attenuator, duh.
Mike Brady [Wed, 29 Sep 2021 08:02:53 +0000 (09:02 +0100)]
Allow Shairport Sync to be build without including the metadata stuff.
Mike Brady [Tue, 28 Sep 2021 16:40:33 +0000 (17:40 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Mon, 27 Sep 2021 18:37:09 +0000 (19:37 +0100)]
Is sufficiently different from 4.0-dev...
Mike Brady [Sat, 18 Sep 2021 11:22:57 +0000 (12:22 +0100)]
Allocate, deallocate and NULL the rtp_event_thread memory space so that it is only deleted once!
Mike Brady [Fri, 17 Sep 2021 18:27:41 +0000 (19:27 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 17 Sep 2021 18:24:10 +0000 (19:24 +0100)]
Update AIRPLAY2.md
Mike Brady [Thu, 16 Sep 2021 16:54:47 +0000 (17:54 +0100)]
Merge with the aillwee development branch
Mike Brady [Sun, 12 Sep 2021 14:31:45 +0000 (15:31 +0100)]
Allow compilation with AirPlay2 not selected.
Mike Brady [Sun, 12 Sep 2021 14:24:48 +0000 (15:24 +0100)]
Add full teardown actions to RTSP stream cleanup to correctly close all connections.
Mike Brady [Fri, 10 Sep 2021 16:42:47 +0000 (17:42 +0100)]
Change features flags in agreement with the metadata settings in the config file.
Mike Brady [Thu, 9 Sep 2021 10:24:23 +0000 (11:24 +0100)]
Fix compilation errors that accumulated with no --with-airplay-2 flag set.
Mike Brady [Thu, 9 Sep 2021 10:23:25 +0000 (11:23 +0100)]
Stop a message from repeating endlessly.
Mike Brady [Tue, 7 Sep 2021 06:44:28 +0000 (07:44 +0100)]
Fix a crashing bug in cancel_all_RTSP_threads.
Mike Brady [Mon, 6 Sep 2021 13:30:13 +0000 (14:30 +0100)]
Clang
Mike Brady [Mon, 6 Sep 2021 10:05:20 +0000 (11:05 +0100)]
Improve cancelled connection memory recovery. Remove some trick-bicycling programming from connection memory recovery. Use mutexes. Recover cancelled connection memory immediately.
Mike Brady [Mon, 6 Sep 2021 10:02:59 +0000 (11:02 +0100)]
Don't need 'had_been_cancelled'. Remoted.
Mike Brady [Mon, 6 Sep 2021 08:11:24 +0000 (09:11 +0100)]
Seems to work better with iOS / HomePod mini speaker selection. Does not recover discarded rtsp stream memory!
Mike Brady [Sun, 5 Sep 2021 09:13:17 +0000 (10:13 +0100)]
Slight comment change.
Mike Brady [Sun, 5 Sep 2021 09:12:41 +0000 (10:12 +0100)]
To address Issue 1107, set the number of items to buffer to 255. Thanks to https://github.com/PieGuy314 and https://github.com/Hello71 for reporting.
Mike Brady [Sun, 5 Sep 2021 08:10:26 +0000 (09:10 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
quieten a deprecation warning
Mike Brady [Sun, 5 Sep 2021 08:09:44 +0000 (09:09 +0100)]
Update rtp.c
Stop a deprecated warning.
Mike Brady [Sun, 5 Sep 2021 08:01:33 +0000 (09:01 +0100)]
Online changes.
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Sat, 4 Sep 2021 20:19:15 +0000 (21:19 +0100)]
Merge pull request #1284 from mao-liu/fix/ffmpeg-3.4
small change to fix codec loading for ubuntu-18/ffmpeg-3.4
Mao Liu [Sat, 4 Sep 2021 14:31:15 +0000 (14:31 +0000)]
small change to fix codec loading for ubuntu-18/ffmpeg-3.4
Mike Brady [Sat, 4 Sep 2021 14:08:44 +0000 (15:08 +0100)]
redo handle_setup to identify ptp, ntp and remote control streams, returns 400 for remote control and unrecognised stuff.
Mike Brady [Fri, 3 Sep 2021 14:41:47 +0000 (15:41 +0100)]
Uncomment code to list the contents of an incoming message. Get the source airplay version. Quieten some messages.
Mike Brady [Fri, 3 Sep 2021 14:38:28 +0000 (15:38 +0100)]
Quieten a really noise message on verbosity 3.
Mike Brady [Thu, 2 Sep 2021 11:20:53 +0000 (12:20 +0100)]
Move the release of the group UUID to when the connection ends, not when the play session ends.
Mike Brady [Wed, 1 Sep 2021 15:54:19 +0000 (16:54 +0100)]
quieten a few debug messages
Mike Brady [Wed, 1 Sep 2021 15:53:48 +0000 (16:53 +0100)]
clang
Mike Brady [Wed, 1 Sep 2021 15:53:14 +0000 (16:53 +0100)]
clang
Mike Brady [Wed, 1 Sep 2021 15:40:43 +0000 (16:40 +0100)]
Add new type of airplasy stream
Mike Brady [Wed, 1 Sep 2021 15:40:04 +0000 (16:40 +0100)]
Mark the airplay_gid free by nulling it.
Mike Brady [Wed, 1 Sep 2021 15:39:32 +0000 (16:39 +0100)]
lock the avahi thread before modifying the strings
Mike Brady [Wed, 1 Sep 2021 11:08:13 +0000 (12:08 +0100)]
Tiny update. Note thay SPS can not participate in a remote control connection.
Mike Brady [Wed, 1 Sep 2021 09:33:29 +0000 (10:33 +0100)]
Move groupUUID storage to the conn, as it's a property of a connection not of the player. Improve some debug messages. Alsways update the bonjour strings dueing a SETUP, only reset grooup UUID when a TEARDOWN closes a connection, not when it closes a stream.
Mike Brady [Wed, 1 Sep 2021 09:31:06 +0000 (10:31 +0100)]
If the airplay_gid is not NULL, free it before deleting the player.
Mike Brady [Wed, 1 Sep 2021 09:30:24 +0000 (10:30 +0100)]
Stop initialising the airplay_gid. Now if it's NULL it means the group UUID is the same as the deviice's pi. Alos airplay_gid is moved to the conn.
Mike Brady [Wed, 1 Sep 2021 09:28:30 +0000 (10:28 +0100)]
Move group ID store to the conn. Fix the size of the groupContainsGroupLeader plist boolean store.
Mike Brady [Tue, 31 Aug 2021 16:54:59 +0000 (17:54 +0100)]
Rearrange code for setting bonjour strings. Improve response text from msg_write_response. Decode updateMRSupportedCommands stuff for curiosity. Capture group ID and groupContainsGroupLeader from setup and post them in the Bonjour strings. Include 'isGroupLeader=0' if it's in a group. Restore group ID and related stuff when deselected. Set bit 11 'DeviceSupportsRelay' when selected and clear when deselected.
Mike Brady [Tue, 31 Aug 2021 16:45:27 +0000 (17:45 +0100)]
Make the features more like the APX2
Mike Brady [Tue, 31 Aug 2021 16:43:56 +0000 (17:43 +0100)]
add a place to store the groupContainsGroupLeader from SETUP
Mike Brady [Mon, 23 Aug 2021 12:00:09 +0000 (13:00 +0100)]
break out the POST /command stuff
Mike Brady [Mon, 23 Aug 2021 11:57:56 +0000 (12:57 +0100)]
Allow debug/inform/die/warn messages up to 16384 bytes (up from 1024 bytes)
Mike Brady [Tue, 10 Aug 2021 21:04:37 +0000 (22:04 +0100)]
Update MQTT.md
Mike Brady [Fri, 6 Aug 2021 09:52:41 +0000 (10:52 +0100)]
Merge pull request #1264 from ffontaine/development
configure.ac: find sndfile through pkg-config
Fabrice Fontaine [Fri, 6 Aug 2021 09:41:49 +0000 (11:41 +0200)]
configure.ac: find sndfile through pkg-config
Find sndfile through pkg-config to retrieve sndfile dependencies such as
flac and avoid the following static build failure:
/tmp/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /tmp/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libsndfile.a(libsndfile_la-flac.o): in function `flac_byterate':
flac.c:(.text+0xfc): undefined reference to `FLAC__StreamDecoderErrorStatusString'
Fixes:
- http://autobuild.buildroot.org/results/
92ed30a6855ca11800b779718822bcba4a69c9a3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Mike Brady [Fri, 30 Jul 2021 19:39:08 +0000 (20:39 +0100)]
Update RELEASENOTES-DEVELOPMENT.md
Mike Brady [Fri, 30 Jul 2021 18:15:17 +0000 (19:15 +0100)]
revert output to syslog rather than stderr
Mike Brady [Thu, 29 Jul 2021 12:13:01 +0000 (13:13 +0100)]
Update CAR INSTALL.md
Mike Brady [Thu, 29 Jul 2021 12:11:39 +0000 (13:11 +0100)]
Update BUILDFORAP2.md
Mike Brady [Wed, 28 Jul 2021 15:59:35 +0000 (16:59 +0100)]
Documentation updates
Mike Brady [Wed, 28 Jul 2021 14:47:21 +0000 (15:47 +0100)]
Update RELEASENOTES-DEVELOPMENT
Mike Brady [Wed, 28 Jul 2021 11:58:20 +0000 (12:58 +0100)]
When an unrecognised SETUP message is received, just say okay and ignore it. Remove reduncant client_setup_plist from the conn data structure.
Mike Brady [Wed, 28 Jul 2021 11:56:55 +0000 (12:56 +0100)]
remove a misleading obsolete comment.
Mike Brady [Tue, 27 Jul 2021 17:20:05 +0000 (18:20 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online updates.
Mike Brady [Sat, 24 Jul 2021 08:28:12 +0000 (09:28 +0100)]
Update TROUBLESHOOTING.md
Mike Brady [Sat, 24 Jul 2021 08:23:02 +0000 (09:23 +0100)]
Simplify UFW Stuff
Make is work for any source, IPv4 or IPv6, add in 7000 for AP2
Mike Brady [Thu, 22 Jul 2021 16:33:31 +0000 (17:33 +0100)]
Bring over some updates that were applied to the master branch.
Mike Brady [Thu, 22 Jul 2021 15:45:10 +0000 (16:45 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online pull requests.
Mike Brady [Thu, 22 Jul 2021 15:35:10 +0000 (16:35 +0100)]
Merge pull request #1177 from lrusak/pipewire
pipewire: add initial support
Mike Brady [Thu, 22 Jul 2021 15:28:25 +0000 (16:28 +0100)]
Merge pull request #1211 from fesc2000/master
Fix tinysvcmdns: rr_data_len goes beyond packet buffer
Mike Brady [Thu, 22 Jul 2021 15:12:38 +0000 (16:12 +0100)]
Merge branch 'dasl--readme-config' into development
PR #1186
Mike Brady [Thu, 22 Jul 2021 15:12:06 +0000 (16:12 +0100)]
Merged PR #1186, thanks to [dasl-](https://github.com/dasl-).
Mike Brady [Thu, 22 Jul 2021 15:04:47 +0000 (16:04 +0100)]
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Online changes.
Mike Brady [Thu, 22 Jul 2021 15:01:43 +0000 (16:01 +0100)]
Merge pull request #1253 from charlesomer/master
Added stale action for issues and PRs.
Mike Brady [Thu, 22 Jul 2021 15:00:31 +0000 (16:00 +0100)]
Merge pull request #1243 from charlesomer/development
Fix NQPTP branch name for non development build starts.
Mike Brady [Thu, 22 Jul 2021 13:30:17 +0000 (14:30 +0100)]
Update CAR INSTALL.md
Mike Brady [Thu, 22 Jul 2021 12:23:57 +0000 (13:23 +0100)]
Avoid repreatedly asking Avahi to monitor for the same DACP-ID. Quieten some debug messages.
Mike Brady [Thu, 22 Jul 2021 11:43:21 +0000 (12:43 +0100)]
Quieten a few temporary wanrings.
Mike Brady [Thu, 22 Jul 2021 10:03:32 +0000 (11:03 +0100)]
Add a dummy handler for the POST /feedback request.
Mike Brady [Thu, 22 Jul 2021 10:01:53 +0000 (11:01 +0100)]
Use a local copy of the nqptp shared memory interface description file.
Mike Brady [Mon, 19 Jul 2021 20:51:47 +0000 (21:51 +0100)]
Pick up active Remote information as well as DACP-ID.
Mike Brady [Mon, 19 Jul 2021 19:35:06 +0000 (20:35 +0100)]
Merge pull request #24 from aillwee/charles-dev
Stale action + updates from public repo (docker).