Commit Graph
89 Commits
Author SHA1 Message Date
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 4aea4cc5c6 Always use /etc/dbus-1/system.d for dbus policy documents in Linux, but continue to use the top-level directory path specified by the sysconfdir variable for *BSD 2019-05-12 15:40:40 +01:00
Mike Brady feaa931978 Update the FREEBSD installer to create a user/group with a uid/gid of (arbitrarity) 801 to avoid appearing on the login list. 2019-03-19 16:11:26 +00:00
Mike Brady cc0ff56ab7 Create the dbus/system.d directory if it doesn't already exist. 2019-03-18 19:37:09 +00:00
Mike Brady 623b9b4b9f Add a CYGWIN installer. 2019-02-21 16:10:30 +00:00
Mike Brady 3162977c71 make mdns-external-avahi a conditional compilation 2019-02-05 09:45:16 +00:00
Mike Brady a8639f6c40 Add an activity monitor -- can set an activity idle timeout. 2019-01-20 22:15:02 +00:00
Mike Brady 203f02604d Improve build instruction to avoid rebuilding stuff when there has been no change. 2018-11-01 12:56:32 +00:00
Mike Brady 35860f7bb4 Stop multiple calls to gdbus_codegen on parallel makes 2018-11-01 11:06:32 +00:00
Mike Brady 580d75a6ed Make the lib settings standard for all builds, not individual for Linux/FreeBSD/OpenBSD. Let's hope. 2018-10-30 19:58:34 +00:00
Mike Brady b91df8ec73 Start using libraries to be able to compile other people's or automatically generated sources using standard compilation settings. 2018-10-30 19:49:32 +00:00
Mike Brady 07c45454cd Improve Makefile.am for FreeBSD -- remove irreleveant compiler flags 2018-09-20 13:21:51 +01:00
Mike Brady dc56b1f19b Remove the --c-generate-autocleanup all -- not present on all systems, it seems 2018-09-09 21:25:09 +01:00
Mike Brady c9b3d2a2f4 Many changes to compilation and linking flags. Stop using HAVE_* flags except where necessary, use CONFIG_* for optional stuff, use HAS_* for immediate definitions, use USE_* for AM definitions. Probably introduced bgs, sigh. 2018-09-09 20:41:31 +01:00
Mike Brady 69642bb7de Partly clean up use of automake, autoconfig and compiler flags. Works but still not consistent. 2018-09-09 14:12:20 +01:00
Mike Brady 8cabb16f25 Initial very rough attempt at a jackaudio backend. 2018-08-31 12:39:18 +01:00
Mike Brady 711b6e6413 Move creation of the /var/run/shairport-sync directory from install time to just before launch -- it may be deleted when the machine is powered down. 2018-08-20 22:28:36 +01:00
Mike Brady d5197081ef Fix a stupid divide-by-zero error and remove unrecognised warning options for FreeBSD 2018-08-20 19:53:16 +01:00
Mike Brady 25d02d183e Use CXXFLAGS etc. to ensure they can be overridden properly. Turn off ABI-changed warnings. 2018-08-13 14:04:22 +01:00
Mike Brady 48d001591a Turn off "clobbering" warning, as it generates too many false positives at present. 2018-08-08 09:00:41 +01:00
Till Zimmermann 02694948f3 Initial MQTT Version 2018-06-19 19:40:08 +02:00
Mike Brady 05d84efcd9 Match it up with 3.2RC1 2018-04-07 19:42:52 +01:00
Mike Brady aa69f52d04 Quiten some debug messages and some compiler warnings 2018-04-07 17:40:46 +01:00
Mike Brady 26d7b07926 Rationalise the MPRIS dbus interface files down to three. Clean up the test client too. 2018-03-20 16:49:08 +00:00
Mike Brady c0b1dc542a Rationalise all the native dbus intefaces files down to just three. 2018-03-20 16:28:06 +00:00
Mike Brady 720a86630a Begin to add a basic remote control interface corresponding to the set of commands AirPlay devices seem to obey. 2018-03-17 19:43:10 +00:00
Mike Brady 9d9b0a1824 Add a Shairport Sync Diagnostics DBus Onject, only part working 2018-03-10 17:01:42 +00:00
Mike Brady 8991f3420c Remove many causes of warnings at the -Wextra level 2018-03-07 20:48:21 +00:00
Mike Brady 2f9bfa61a9 Enable all compiler warnings 2018-03-06 08:48:43 +00:00
Mike Brady 9776b378d4 Allow the mpris and the dbus test clients to be compiled at the same time. 2018-03-05 19:55:29 +00:00
Mike Brady 75c27395bf Fix Makefile.am so that it works (properly) on FreeBSD but not properly on Linux -- it calls gdbus-codegen twice as often as it needs to on Linux 2018-03-05 19:10:31 +00:00
Mike Brady 0e260bcc3c Fix bug to allow both --with-dbus and --with-mpris at the same time. 2018-03-05 18:57:17 +00:00
Mike Brady 3ca4d2cdc4 Stop using codgen twice for each dbus xml file. 2018-02-18 16:27:28 +00:00
Mike Brady 9264f3a8e9 Include the -pthread flag -- including the pthread library with -lpthread isn't always enough 2018-02-13 17:17:37 +00:00
Mike Brady 283e4930e8 Add support for OpenBSD compilation 2018-02-09 21:11:39 +00:00
Mike Brady 065eada6b5 Separate out metadata hub, dacp client, mpris and dbus interfaces a bit. Probably not finished. 2018-01-09 15:56:06 +00:00
Mike Brady 0801290aa6 Use the term metadata hub now -- for any stored metadata, such as might be used by dbus 2017-12-31 17:01:01 +00:00
Mike Brady 6af24f7c1f Begin to add support for a central metadata bundle or respository. Lots more to do. 2017-12-26 20:28:14 +00:00
Mike Brady 1637a79dd6 Add tinyhttp code for sending and reading responses. Clean up some dacp routines. Most new and modified rooutines untested. 2017-12-18 18:50:01 +00:00
Mike Brady da3366a2a6 Remember to install a dbus system bus access rule for mpris, separate dbus and mpris access rules, move them to scripts folder 2017-11-25 09:25:50 +00:00
Mike Brady df7c48f0f3 Clean up naming of some files, get the 'stop' command working 2017-11-19 21:16:36 +00:00
Mike Brady 74f41a1769 Reorganise D-BUS interface code and introduce an MPRIS interface. 2017-11-19 16:08:39 +00:00
Mike Brady 79e610fa81 It turns out you don't need to add an interface file or a service file for a dbus app that doesn't need to be autostarted, or something. 2017-11-12 22:32:02 +00:00
Mike Brady 9d2eb511cd Fix a variable substitution. Might be problematic for BSD 2017-11-12 16:53:55 +01:00
Mike Brady d4eae76f33 dbus-related files taken from directories and renamed 2017-11-12 15:45:29 +01:00
Mike Brady f5248a20e1 Change the names of some of the files. 2017-11-12 14:49:53 +01:00
Mike Brady 3198ec4265 Improve dbus and add some dacp services 2017-11-12 14:26:10 +01:00
Mike Brady 1e0d0944c0 Tidy up configure.ac and drop old pulseaudio back end 2017-10-09 09:38:35 +01:00
Mike Brady 1e07e1e0ef Add very very experimental and exploratory systembus dbus support -- subject to change or removal 2017-09-10 13:19:56 +01:00
Mike Brady f2a8392aa1 Remove some (apparently) duplicate -O2 directives 2017-08-03 19:21:31 +02:00