Commit Graph
28 Commits
Author SHA1 Message Date
Mike Brady cf6b98df5f Only drop metadata if the dacp server transitions fron available to unavailable rahter than if it's unavailable. Add a few sample dbus-send commands. 2018-04-17 16:01:28 +01:00
Mike Brady 08a7d4ffb5 Use snprintf in place of sprintf. 2018-04-08 15:36:05 +01:00
Mike Brady 4aab0a6f92 Improve the scanner to start and stop properly and to release track data when remote control becomes unavailable. 2018-04-07 13:22:38 +01:00
Mike Brady f9845d017b Fix problem when reconnecting to an itunes play session. 2018-04-03 22:32:43 +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 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 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 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 7fa1d3cbee Add a prolog and epilog for safe reading of the metadata bundle 2018-03-09 16:26:09 +00:00
Mike Brady c36a7822a3 Tidy up using clang-format 2018-03-07 14:35:25 +00:00
Mike Brady 64d36693d4 Add play/pause/stop MPRIS and quieten some debug messages 2018-02-21 18:30:32 +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 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 564ff638e6 Bracket metadata reception with prologs and epilogs, make metadat pipe and art directory writable by group and world 2018-01-23 11:13:19 +00:00
Mike Brady 72dd8f501b Add some untested and incomplete code to rwlock the hub when writing and reading 2018-01-23 00:02:32 +00:00
Mike Brady 6b5a1b39c5 Hook up mpris artwork 2018-01-20 16:53:31 +00:00
Mike Brady fa6cafd0be Integrate true metadata some more with the metadata hub 2018-01-15 20:43:26 +00:00
Mike Brady 7c762e6501 Add stub for adding classic metadata to metadata hub 2018-01-14 17:02:02 +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 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 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