From 101ebe171f27463901d698254f84c4072dcc9745 Mon Sep 17 00:00:00 2001 From: Andrew Kloet Date: Thu, 3 Jul 2025 19:13:21 -0400 Subject: add song buffer to prevent duplication --- mpd_ws.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mpd_ws.h') 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; }; -- cgit v1.2.3