Make player.c send information to the metadata store rather than initiating d-bus messages
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user