Commit Graph
29 Commits
Author SHA1 Message Date
Mike Brady 85ba78b619 More fixes to allow gcc-10 to compile without error 2020-02-13 17:57:30 +00:00
Mike Brady 249a6deff9 Bump copyright date. 2020-01-10 17:20:53 +00:00
Mike Brady 1f75fe4e7a Add or update some of the copyright notices 2019-12-27 14:37:01 +00:00
Mike Brady fe8198a23b 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.
2019-12-20 17:17:21 +00:00
Mike Brady 86b6d7bfff Squashed commit of the following:
Fix Issue #890 -- https://github.com/mikebrady/shairport-sync/issues/890
    Recognise situation where a track has no artwork properly.
    Less likely to drop the 'availabile' property.
    Always output the full metadata whenever any part of it has changed.
    Metadata coming from dacp is now incorporated,
2019-08-29 11:47:49 +01:00
Mike Brady c8c70b6016 Add quit commands to the MPRIS and native D-Bus command set. Not tested ecologically. 2018-07-18 15:32:07 +01:00
Mike Brady a4eaace76b Begin to try to get Shairport Sync to quit cleanly, relinquishing memory and ports etc. properly so that valgrind can be more useful. 2018-07-17 10:28:06 +01:00
Mike Brady c2e3fa5aa7 Move ab_mutex, flow control CV and flush mutex initialisation and teardown out of the player thread. Thus remove need for player theread lock. Format some of the surce files. 2018-07-14 13:38:29 +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 2cfbeca6ad Update the mpris service provider to deal with the new track metadata information. 2018-04-01 16:31:02 +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 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 2d2c06a310 Hook up the dacp volume control, if available. 2018-03-04 17:42:53 +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 f3ef6b5e05 Quieten some debug messages and make others a bit more informative 2018-02-19 20:55:35 +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 352f6d5c97 Refinements to adding cover art. 2018-01-20 19:08:08 +00:00
Mike Brady 6b5a1b39c5 Hook up mpris artwork 2018-01-20 16:53:31 +00:00
Mike Brady ed38d00213 Add a little extra info to mpris d-bus bus acquisition. 2018-01-17 10:06:39 +00:00
Mike Brady 6ef554d39c Quieten a debug message. 2018-01-02 11:20:03 +00:00
Mike Brady aaee366fb7 Add metadata to MPRIS output -- not complete. 2018-01-01 23:04:18 +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 03321799fb Add previous and next controls 2017-11-20 13:16:17 +00:00
Mike Brady bafdd94e33 Clang-format 2017-11-19 21:41:11 +00:00
Mike Brady b98e2a0854 Handle play / pause / play-pause / stop but primitively 2017-11-19 21:40:09 +00:00
Mike Brady df7c48f0f3 Clean up naming of some files, get the 'stop' command working 2017-11-19 21:16:36 +00:00