From ef298cf184ffbd3b9ae2e9f55c4684c32b57cb22 Mon Sep 17 00:00:00 2001 From: "Ronnie P. Thomas" Date: Sat, 9 Jan 2016 21:13:39 +0530 Subject: support local unix sockets Add support for using local AF_UNIX sockets as host --- mpd-notification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpd-notification.c b/mpd-notification.c index 45ac8fe..49673e4 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -251,7 +251,7 @@ int main(int argc, char ** argv) { } /* disable artwork stuff if we are connected to a foreign host */ - if (mpd_host != NULL) + if (mpd_host != NULL && mpd_host[0] != '/') music_dir = NULL; /* change directory to music base directory */ -- cgit v1.2.3-70-g09d2