From 861cf45760c602a5c55264309d86611ead7881f3 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 21 May 2024 14:56:53 +0200 Subject: give a hint with no artwork --- mpd-notification.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpd-notification.c b/mpd-notification.c index c244c65..ba5e63a 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -152,6 +152,9 @@ GdkPixbuf * retrieve_artwork(const char * music_dir, const char * uri) { } } + if (pixbuf == NULL && verbose > 0) + printf("%s: No artwork in media file.\n", program); + image: #endif -- cgit v1.2.3-70-g09d2