diff options
author | Christian Hesse <mail@eworm.de> | 2015-07-09 21:40:47 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-07-09 21:40:47 +0200 |
commit | 23c3d467b4ca19239ac68e060c51f0d1403f3c5e (patch) | |
tree | 22791c91ebf83bc457bd234ae2bb3044c5fc69f6 | |
parent | cd1740f8f2794f8c252b333fecbf9124af0d7825 (diff) | |
download | mpd-notification-23c3d467b4ca19239ac68e060c51f0d1403f3c5e.tar.gz mpd-notification-23c3d467b4ca19239ac68e060c51f0d1403f3c5e.tar.zst |
move verbose output into conditional output
-rw-r--r-- | mpd-notification.c | 6 |
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) |