diff options
author | Christian Hesse <mail@eworm.de> | 2024-05-21 14:56:53 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-05-21 15:10:40 +0200 |
commit | 861cf45760c602a5c55264309d86611ead7881f3 (patch) | |
tree | a29868a785c7e74ce7a98f8b0e3ca592e25936b6 | |
parent | f8dd7bc1673aa3c8fedf6fb2daae62e1d9a38ae6 (diff) | |
download | mpd-notification-861cf45760c602a5c55264309d86611ead7881f3.tar.gz mpd-notification-861cf45760c602a5c55264309d86611ead7881f3.tar.zst |
give a hint with no artwork
-rw-r--r-- | mpd-notification.c | 3 |
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 |