From cd1740f8f2794f8c252b333fecbf9124af0d7825 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 9 Jul 2015 21:30:28 +0200 Subject: be verbose about artwork --- mpd-notification.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3-70-g09d2