summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-07-09 21:40:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-07-09 21:40:47 +0200
commit23c3d467b4ca19239ac68e060c51f0d1403f3c5e (patch)
tree22791c91ebf83bc457bd234ae2bb3044c5fc69f6
parentcd1740f8f2794f8c252b333fecbf9124af0d7825 (diff)
downloadmpd-notification-23c3d467b4ca19239ac68e060c51f0d1403f3c5e.tar.gz
mpd-notification-23c3d467b4ca19239ac68e060c51f0d1403f3c5e.tar.zst
move verbose output into conditional output
-rw-r--r--mpd-notification.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 0ef50ad..d064700 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -330,10 +330,10 @@ int main(int argc, char ** argv) {
if (pixbuf == NULL)
#endif
icon = get_icon(music_dir, uri);
- }
- if (verbose > 0 && icon != NULL)
- printf("%s: found icon: %s\n", program, icon);
+ if (verbose > 0 && icon != NULL)
+ printf("%s: found icon: %s\n", program, icon);
+ }
mpd_song_free(song);
} else if (state == MPD_STATE_PAUSE)