Commit Graph
457 Commits
Author SHA1 Message Date
Mike Brady 2c8f324d21 Correct mistakes in configure.ac whereby it would interpret a --without-<option> as a --with<option>. Improve some of the library hints. 2021-01-24 17:22:31 +00:00
Mike Brady ca40780a76 Add some simple configuration tests. 2021-01-01 19:16:27 +00:00
Mike Brady 26ff0c2095 More of the configure.ac fixes done. Still incomplete. 2020-12-30 19:32:46 +00:00
Mike Brady 9af9dafb97 Partially fix the --with-* and --without-* issues and clean up the script. 2020-12-26 16:11:53 +00:00
Mike Brady 3612fa374f Further changes, make ALAC and GIO lowecase. 2020-12-26 16:10:04 +00:00
Mike Brady 2538e46abe Further changes, use AS_HELP_STRING macros, remove most include messages, make many tokens lowercase. 2020-12-26 15:45:13 +00:00
Mike Brady 72176a95a4 Fix up AC_ARG_WITH logic to work with --without-* properly. Also do some tidying up. Fixed --with-apple-alac, --with-pipe, --with-stdout, --with-dummy. More to do. 2020-12-26 14:35:18 +00:00
Mike Brady c01b51e141 Add MQTT documentation and associated README update. Fix bug cuasing hang if an on-*** script fails. 2020-12-23 17:34:36 +00:00
Mike Brady a1810786fa Bug fixes 2020-12-23 16:14:01 +00:00
Mike Brady b291b951d7 Restore compatibility with AirPower on Android. 2020-12-07 14:04:53 +00:00
Mike Brady 7b716cf41e Bugfix -- don't try to create the metadata pipe or output metadata to it when metadata has not been enabled. 2020-12-05 18:02:03 +00:00
Mike Brady fc1a32a18d Bugfix -- don't try to create the metadata pipe or output metadata to it when metadata has not been enabled. 2020-12-05 18:01:04 +00:00
Mike BradyandGitHub 15a7d4d297 3.3.7 Final 2020-12-01 12:03:17 +00:00
Mike Brady 54cb9de183 Handle active_remote_id as a string rather than an unsigned 32-bit number -- seems ROON uses a longer character sequence.
Tidy up some error messages about which backend is selected.
    Tighten up memory allocatons in DACP.c.
    Add a default name for the pipe backend: /tmp/shairport-sync-audio
    Ensure the metadata pipe is created, if necessary, when the --with-metadata option is chosen without dbus or mpris
    Make the first output backend in the list of backends the default and make its name the default output_name. Clang-format everything
    Add the word 'jack' to the version string if Jack Audio support is compiled in.
    Fix a flaw in resyncing -- a flush is set up but not triggered.
    Open metadata and audio pipes with 666 permissions.
    Ensure metadata and cover art are enabled if metadata support is included at compilation.
    Reword some misleading error messages.
    Set convolution defaults even if no configuration file is found.
2020-09-30 15:02:35 +01:00
Mike Brady cf5a9f764d Handle active_remote_id as a string rather than an unsigned 32-bit number. It seems ROON uses a longer character sequence. Tidy up some error messages aboout which backend is selected. 2020-09-27 10:48:27 +01:00
Mike Brady 46c47c01a6 Ensure the metadata pipe is created, if necessary, when the --with-metadata option is chosen without dbus or mpris 2020-09-11 16:54:34 +01:00
Mike BradyandGitHub b54fb78cb4 Update configure.ac 2020-09-03 10:35:52 +01:00
Mike Brady 08f0878055 Add the word 'jack' to the version string if Jack Audi support is compiled in. 2020-09-02 17:28:02 +01:00
Mike Brady 27faeaf696 Squashed commit of the following:
Use a  gentler flush process for resyncing.
    Potentially fix a flaw in resyncing. The problem was that a flush is set up but not triggered.
    Open metadata and audio pipes with 666 permissions for easier integration with other audio sources to give them permission to write to the audio pipe later.
    Ensure metadata and cover art are enabled if metadata support is included at compilation.
    Reword some misleading error messages.
    Set convolution defaults even if no configuration file is found.
    Quieten a few debug messages.
2020-08-21 10:43:09 +01:00
Mike BradyandGitHub 5ddb80e0db Update configure.ac 2020-08-13 19:38:40 +01:00
Mike BradyandGitHub ad1015788a Update configure.ac 2020-08-13 19:38:15 +01:00
Mike Brady 7e2b856121 Open metadata and audio pipes with 666 permissions. 2020-07-27 09:41:33 +01:00
Mike Brady 69d3b8d4a9 Ensure metadata and cover art are enabled if metadata support is included at compilation. Reword some misleading error messages, set convolution defaults even if no configuration file is found. Quieten a few debug messages. 2020-07-13 11:53:54 +01:00
Mike Brady 492d81d7bd Extra check for leading zeros in the DACP ID received in an RTSP packet 2020-07-10 09:51:56 +01:00
Mike Brady 1028f0c734 Remove leading zeroes from an incoming DACP ID in another place 2020-07-08 10:20:33 +01:00
Mike Brady 2519f600dc 3.3.7rc0 2020-07-06 17:10:04 +01:00
Mike Brady ec5ff0fcfb 3.3.7d12 -- getting near to release 2020-07-03 17:32:44 +01:00
Mike BradyandGitHub 5fac4bec0b Change blame address! 2020-06-21 13:37:33 +01:00
Mike BradyandGitHub 8d3e894172 Bug fixes.
Fix bugs preventing clean termination on MPRIS Quit().
2020-06-21 13:36:49 +01:00
Mike BradyandGitHub f85c853c14 Fix metadata abeg and aend generation bug. 2020-06-13 09:38:12 +01:00
Mike Brady f63abd2f09 Start using timing based on a linear least squares error-based estimate of remote to local time difference and drift. 2020-06-09 11:40:50 +01:00
Mike Brady 2d7d8e161e BB 3.3.7d8 2020-06-05 17:25:12 +01:00
Mike Brady 98f526063f Clean up code for the silent lead-in on a non-syncing back end e.g. a pipe. Clean up pipe creation and initial opening and associated error messages. Fix error with warning/die messages. Tidy up some debug messages. 2020-06-05 17:23:10 +01:00
Mike Brady e681f47c8c Add the ability to direct logs etc. to a file or pipe. 2020-05-28 12:20:41 +01:00
Mike Brady 76c4947d64 rewrite the non_blocking_write to not use poll() and to return immediately if there is no reader at the end of the pipe. 2020-05-25 12:50:48 +01:00
Mike Brady 89e99f28a5 Improve initial sync calculations, even with short (0.3 sec) silent lead-in times. 2020-05-18 17:00:56 +01:00
Mike Brady 14d75679be Fix calculation of latency -- honour the signs of the offset and account for the DAC buffer size. 2020-05-14 20:45:52 +01:00
Mike Brady 1f9be7d6aa Remove leading zeroes from the DACP ID provided by mDNS 2020-03-26 17:04:25 +00:00
Mike Brady ff3cef4471 If the DACP port is zero, do a zeroconf re-broswe every two seconds in case it has been missed. 2020-03-25 10:17:39 +00:00
Mike Brady db34ec8d3c Move from fixed-point 64-bit timing to unsigned nanosecond timing 2020-02-25 16:13:39 +00:00
Mike Brady 1f52693884 This is 3.3.6 with some documentation updates and a tiny edit 2020-02-22 18:25:14 +00:00
Mike Brady 02224666da Squashed commit of the following:
Don't use strndup as old versions of OpenWrt don't seem to have it
    Update FREEBSD.md
    Fix comparison between old and new metadata strings by checking they have equal lengths as well.
    Remove a redundant definition to prevent use on an uninitialised copy, clean up some of the less-used backends
    Remove some unwanted and unused variable declarations from audio_dummy.c and audio_soundio.c
    Add the -fno-common flag to compilation.
    Treat the "mper" attribute as the 64-bit item that it is rather than a 32-bit item as hithereto. Output it as a hexadecimal number to correspond with the format of the track id obtained from AppleScript
    Make changes to that it compiles under gcc-10 with -fno-common
    Add a SIGCHLD handler to reap zombie processes generated after script invocations where wait_for_completion is set to "no".
    Update and rename CONTRIBUTING.md to REPORTING ISSUES.md
    Add a few more commands and clarify some text.
    Change from talking about a server to talking about a client. Technically, e.g. iTunes is a client of Shairport Sync.
    Store the UserAgent so as to recognise forked-daapd so as to always send a revision_number of 1 when asking for playerstatus of forked-daapd.
    Add or update some of the copyright notices
    Add the ability to set the volume directly to the D-Bus RemoteControl interface and to the MPRIS interface. Both use the recently-discovered ability to set the device_volume.
    Merge in Pieter De Gendt's work on resampling on the jack backend.
    Merge pull request #939 from pdgendt/feature/jack-soxr-resampling
    Add SetAirplayVolume to the D-Bus RemoteControl interface.
    Add SetVolume to the MPRIS interface.
    Hook up the Volume property in the MPRIS interface.
    Modify RemoteCommand in the D-Bus interface to return the HTTP status and response.
    Change the type of airplay_volume from int to double in the metadata hub.
    Add a few sample commands in the D-Bus document.
2020-02-20 21:32:35 +00:00
Mike Brady d6c6e8c1b7 Don't use strndup as old versions of OpenWrt don't seem to have it 2020-02-20 18:24:32 +00:00
Mike Brady d017ac3948 Brown bag -- this is what 3.3.6d9 was supposed to do! 2020-02-19 14:34:51 +00:00
Mike Brady d237d72c97 fix comparison between old and new metadata strings by checking they have equal lengths as well. Remove a redundant definition to prevent use on an uninitialised copy, clean up some of the less-used backends 2020-02-19 09:36:59 +00:00
Mike Brady a3cf72c8ce Add the -fno-common flag to compilation. Treat the "mper" attribute correctly as a 64 bit item and output it in hex to correspond with AppleScript. 2020-02-18 14:11:32 +00:00
Mike Brady 0902cdfe1a Make some changes to remove new warnings from tinysvcmdns.c in gcc-10 2020-02-14 16:28:45 +00:00
Mike Brady 17759c97ed Add a SIGCHLD handler to reap zombie processes generated after script invocations where wait_for_completion is set to "no". 2020-02-11 22:44:50 +00:00
Mike Brady a7018e4cb8 Use a different workaround for forked-daapd remote access and clean up a few small issues. 2020-01-10 17:23:31 +00:00
Mike Brady 99d99b417a Remove timeout on reception of DACP responses to allow for long poll behaviour of some players, e.g. Forked Daapd. Add some examples to the dbus client. 2020-01-10 08:31:40 +00:00