aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-03-02 21:32:02 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-03-02 21:32:02 +0100
commit049feb0216cd7745ff3818b95e7f4a75f738de43 (patch)
tree2a5c06e0441f6d1d58e383b57857967fd9a3ac39
parent9e11a2255485bea0ddf13575d6de173045f8fc97 (diff)
downloadmpd-notification-049feb0216cd7745ff3818b95e7f4a75f738de43.tar.gz
mpd-notification-049feb0216cd7745ff3818b95e7f4a75f738de43.tar.zst
do not disable artwork stuff for remote host
Looks like people run mpd on remote host and have a copy (or net mount) with media and/or image files on local system. So do not disable artwork stuff for remote host. Fixes #16
-rw-r--r--mpd-notification.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 64081a5..0d55607 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -328,10 +328,6 @@ int main(int argc, char ** argv) {
}
}
- /* disable artwork stuff if we are connected to a foreign host */
- if (mpd_host != NULL && mpd_host[0] != '/')
- music_dir = NULL;
-
/* change directory to music base directory */
if (music_dir != NULL) {
if (chdir(music_dir) == -1) {