Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/mpd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
#include "config.h"
#include "json_encode.h"

struct t_mpd mpd;
char dirble_api_token[28];

/* forward declaration */
static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev);

Expand Down
5 changes: 3 additions & 2 deletions src/mpd_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,10 @@ struct t_mpd {

int song_id;
unsigned queue_version;
} mpd;
};

char dirble_api_token[28];
extern struct t_mpd mpd;
extern char dirble_api_token[28];

struct t_mpd_client_session {
int song_id;
Expand Down