summaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-07-09 21:30:28 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-07-09 21:30:28 +0200
commitcd1740f8f2794f8c252b333fecbf9124af0d7825 (patch)
treeb0f2132c68497811639d54ef7204e5d1c4813c82 /mpd-notification.c
parent1db32933ec6b8fae2d2cc2192fd8e09f9d8ee198 (diff)
downloadmpd-notification-cd1740f8f2794f8c252b333fecbf9124af0d7825.tar.gz
mpd-notification-cd1740f8f2794f8c252b333fecbf9124af0d7825.tar.zst
be verbose about artwork
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 11443b0..0ef50ad 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -324,6 +324,9 @@ int main(int argc, char ** argv) {
#ifdef HAVE_LIBAV
pixbuf = retrieve_album_art(music_dir, uri);
+ if (verbose > 0 && pixbuf != NULL)
+ printf("%s: found artwork in media file: %s/%s\n", program, music_dir, uri);
+
if (pixbuf == NULL)
#endif
icon = get_icon(music_dir, uri);