Make player.c send information to the metadata store rather than initiating d-bus messages

This commit is contained in:
Mike Brady
2018-01-10 21:30:30 +00:00
parent 6b94a89cbe
commit 3e2c3e837a
5 changed files with 99 additions and 88 deletions
-11
View File
@@ -26,14 +26,6 @@
#define time_ping_history 8
#if defined(HAVE_DBUS) || defined(HAVE_MPRIS)
enum session_status_type {
SST_stopped = 0, // not playing anything
SST_paused, // paused
SST_playing,
} sst_type;
#endif
typedef struct time_ping_record {
uint64_t local_to_remote_difference;
uint64_t dispersion;
@@ -67,9 +59,6 @@ typedef struct {
int64_t minimum_latency; // set if an a=min-latency: line appears in the ANNOUNCE message; zero otherwise
int64_t maximum_latency; // set if an a=max-latency: line appears in the ANNOUNCE message; zero otherwise
#if defined(HAVE_DBUS) || defined(HAVE_MPRIS)
enum session_status_type play_state;
#endif
int fd;
int authorized; // set if a password is required and has been supplied
stream_cfg stream;