Move the MPD client interface to liberty

It seems like there aren't going to be any big changes any time soon.
This commit is contained in:
2016-10-11 09:40:01 +02:00
parent fb75841154
commit 4542bdd239
3 changed files with 2 additions and 656 deletions

View File

@@ -62,11 +62,9 @@ enum
#define LIBERTY_WANT_POLLER
#define LIBERTY_WANT_ASYNC
#define LIBERTY_WANT_PROTO_HTTP
#define LIBERTY_WANT_PROTO_MPD
#include "liberty/liberty.c"
#include <sys/un.h>
#include "mpd.c"
#include <locale.h>
#include <termios.h>
#ifndef TIOCGWINSZ
@@ -2395,9 +2393,6 @@ debug_tab_init (void)
// --- MPD interface -----------------------------------------------------------
// TODO: this entire thing has been slavishly copy-pasted from dwmstatus
// TODO: try to move some of this code to mpd.c
static void
mpd_update_playback_state (void)
{