aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-01-13 10:01:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-01-13 10:01:19 +0100
commit51cf874659a511382484e5468b95aafeff06ede6 (patch)
tree51f1b22f516d60dcdfc43e6b52560846df8ac229
parentd91759aae35bd9492c4e454dff506ba271cd803d (diff)
parentef298cf184ffbd3b9ae2e9f55c4684c32b57cb22 (diff)
downloadmpd-notification-51cf874659a511382484e5468b95aafeff06ede6.tar.gz
mpd-notification-51cf874659a511382484e5468b95aafeff06ede6.tar.zst
Merge pull request #8 from hydracone/master
Support local unix sockets
-rw-r--r--mpd-notification.c2
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 */