summaryrefslogtreecommitdiff
path: root/mpd_ws.h
diff options
context:
space:
mode:
authorAndrew Kloet <andrew@kloet.net>2025-07-03 19:13:21 -0400
committerAndrew Kloet <andrew@kloet.net>2025-07-03 19:13:21 -0400
commit101ebe171f27463901d698254f84c4072dcc9745 (patch)
treed8af496c6fde3a76b06379b42553225870512bcf /mpd_ws.h
parente74b4b900d9bf23d07f74cc9b01dec2c246e68f8 (diff)
add song buffer to prevent duplication
Diffstat (limited to 'mpd_ws.h')
-rw-r--r--mpd_ws.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpd_ws.h b/mpd_ws.h
index 741bd18..7802d0c 100644
--- a/mpd_ws.h
+++ b/mpd_ws.h
@@ -24,6 +24,7 @@ struct mpd_ws_server {
struct mpd_connection *mpd_conn;
struct client_session *clients;
char current_song[MAX_MESSAGE_SIZE];
+ char previous_song[MAX_MESSAGE_SIZE];
volatile int running;
int mpd_idle_active;
};