summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-05-21 14:56:53 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-05-21 15:10:40 +0200
commit861cf45760c602a5c55264309d86611ead7881f3 (patch)
treea29868a785c7e74ce7a98f8b0e3ca592e25936b6
parentf8dd7bc1673aa3c8fedf6fb2daae62e1d9a38ae6 (diff)
downloadmpd-notification-861cf45760c602a5c55264309d86611ead7881f3.tar.gz
mpd-notification-861cf45760c602a5c55264309d86611ead7881f3.tar.zst
give a hint with no artwork
-rw-r--r--mpd-notification.c3
1 files changed, 3 insertions, 0 deletions
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