aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */