diff options
author | Ronnie P. Thomas <ronnietom@gmail.com> | 2016-01-09 21:13:39 +0530 |
---|---|---|
committer | Ronnie P. Thomas <ronnietom@gmail.com> | 2016-01-09 21:13:39 +0530 |
commit | ef298cf184ffbd3b9ae2e9f55c4684c32b57cb22 (patch) | |
tree | 51f1b22f516d60dcdfc43e6b52560846df8ac229 /mpd-notification.c | |
parent | d91759aae35bd9492c4e454dff506ba271cd803d (diff) | |
download | mpd-notification-ef298cf184ffbd3b9ae2e9f55c4684c32b57cb22.tar.gz mpd-notification-ef298cf184ffbd3b9ae2e9f55c4684c32b57cb22.tar.zst |
support local unix sockets
Add support for using local AF_UNIX sockets as host
Diffstat (limited to 'mpd-notification.c')
-rw-r--r-- | mpd-notification.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |