Commit Graph
48 Commits
Author SHA1 Message Date
Mike Brady 84cd85eb22 Fix problem when reconnecting to an itunes play session. 2018-04-03 22:43:35 +01:00
Mike Brady f9845d017b Fix problem when reconnecting to an itunes play session. 2018-04-03 22:32:43 +01:00
Mike Brady d3e2cb5d92 Modify latency detection to use the second word of a sync packet to decide whether to add an extra delay or not. Use all sync packets, not just one with the exception flag. Use 1024 buffers -- a bit profligate, but hey. 2018-04-02 16:44:16 +01:00
Mike Brady 8bf83c149f Modify latency detection to use the second word of a sync packet to decide whether to add an extra delay or not. Use all sync packets, not just one with the exception flag. Use 1024 buffers -- a bit profligate, but hey. 2018-04-02 16:42:46 +01:00
Mike Brady cb69c1dd2e Take in track metadata but discard it if it's invalid (i.e. has a given mper ID of 0. 2018-04-01 16:09:53 +01:00
Mike Brady 07b7e64a48 Fix some of the advanced remote code 2018-04-01 13:54:41 +01:00
Mike Brady 32c7a535a1 Make scanning for DACP port part of the dacp handler. Only emit 'clip' and 'svip' for a play connection, suppress 'pfls' until 'pffr' has been emitted 2018-03-31 17:34:59 +01:00
Mike Brady 69b3b5d776 Send rtsp events to the metadata thteread for handling. Begin to clean up signals. 2018-03-31 12:39:26 +01:00
Mike Brady cbbe84d8ba Add some more D-Bus facilities. Countermand faulty D-Bus commands. 2018-03-24 17:48:32 +00:00
Mike Brady 340e365a62 Format after adding a few new elements ot the native dbus interface 2018-03-23 21:29:38 +00:00
Mike Brady 6dc30c6ca9 Add a few new elements ot the native dbus interface 2018-03-23 21:28:28 +00:00
Mike Brady 0993f3f15b Only report a client ip as metadata when a play session has started. 2018-03-20 21:24:47 +00:00
Mike Brady d692fab9e4 Clean up native dbus interface files and associated changes to existing files. 2018-03-20 16:31:59 +00:00
Mike Brady c02e53ea80 Add server status -- i.e. can we still send commands to the DACP server. Hook it up as "Server" property in basic remote control. 2018-03-19 16:53:58 +00:00
Mike Brady fba40733f3 Add more basic remote control stuff, but SPS gets confused about who it can control. 2018-03-18 19:10:45 +00:00
Mike Brady 13931664ed Check if locks are already acquired. 2018-03-16 15:57:35 +00:00
Mike Brady 39f159bf9e Split volume function into read-only property and a method for setting it. Making the property read-write is too awkward and kludgy. 2018-03-10 13:56:44 +00:00
Mike Brady f4b9e99aad Quieten a debug message 2018-03-09 21:05:27 +00:00
Mike Brady b10f3793db timed mutex lock not working as expected, so temporarily remove it 2018-03-09 09:50:03 +00:00
Mike Brady 47fff82dd2 Getting the volume properties to work without feedback -- not there yet... 2018-03-09 09:25:49 +00:00
Mike Brady 8991f3420c Remove many causes of warnings at the -Wextra level 2018-03-07 20:48:21 +00:00
Mike Brady c36a7822a3 Tidy up using clang-format 2018-03-07 14:35:25 +00:00
Mike Brady 07e46565ca Eliminate almost all warnings from -Wall 2018-03-07 14:29:14 +00:00
Mike Brady 73bf006c12 Add lots of debug messages, begin to use correctly sized PRId64 and friends in sprintf commands, begin to remove some simple causes of warnings. 2018-03-06 08:50:34 +00:00
Mike Brady b05ced6658 Make the scan interval five seconds and quieten some more debug messages. 2018-02-21 18:38:13 +00:00
Mike Brady bef287d90a Disable playerstatus metadata updates, add facility to release track metadata, enable a lot of debug messages 2018-02-19 20:56:49 +00:00
Mike Brady 3a4e29c5c6 Tidy up dacp scanner -- stop scanning when audio source goes offline. 2018-02-18 16:29:09 +00:00
Mike Brady 419fe95a56 Use uint32_t and uint16_t for ntohl and ntohs 2018-02-10 17:39:57 +00:00
Mike Brady a0bb2993df Add timing to debug messages, make timing sender wait interruptable eveyr 20 ms, thus making TEARDOWN faster. 2018-02-03 20:24:58 +00:00
Mike Brady 9b63f35f71 Hook up dacp message decoding to the loca unlock and notify code 2018-01-23 11:31:48 +00:00
Mike Brady 740e46ddd4 Tidy up with clang format 2018-01-16 22:21:29 +00:00
Mike Brady fa6cafd0be Integrate true metadata some more with the metadata hub 2018-01-15 20:43:26 +00:00
Mike Brady 766d8eedda Fix format of speaker machine id in a sprint 2018-01-15 08:53:23 +00:00
Mike Brady e0aa75a80c pretty-print after adding alsa volume-based mute capability 2018-01-13 20:15:27 +00:00
Mike Brady 3e2c3e837a Make player.c send information to the metadata store rather than initiating d-bus messages 2018-01-10 21:30:30 +00:00
Mike Brady aaee366fb7 Add metadata to MPRIS output -- not complete. 2018-01-01 23:04:18 +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 b67718a09f Add exploratory checks for volume 2017-12-28 12:47:22 +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 231e7419cc Continuing to explore data sources... 2017-12-24 18:38:10 +00:00
Mike Brady 71f62a2f7b Add some debug messages 2017-12-23 09:18:52 +00:00
Mike Brady 7bc91dd383 Close every socket created, not just every socket that can be connected. Alter some of the result codes. 2017-12-21 15:22:54 +00:00
Mike Brady dcb928d63c Minor little updates 2017-12-18 22:29:02 +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 0f68ff0c9a Started implementing a scanner with just playstatusupdate message 2017-12-03 20:11:23 +00:00
Mike Brady 88c550663c hooking up a dacp scanner 2017-12-02 19:52:39 +00:00
Mike Brady fe3b70b4b2 Begin a DACP monitor. Very incomplete -- work in progress only 2017-11-27 09:39:40 +00:00
Mike Brady 3198ec4265 Improve dbus and add some dacp services 2017-11-12 14:26:10 +01:00