aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-10-28 15:41:57 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-10-28 15:41:57 +0100
commit4369fbe03f3cdd18a490e3aab581b4e009d01f72 (patch)
tree5296180960ffcb55a202e0a20d425c3efbe9b8b9
parentf0cb481a7ee403302ab9d03c403d6083f31147f6 (diff)
downloadmpd-notification-4369fbe03f3cdd18a490e3aab581b4e009d01f72.tar.gz
mpd-notification-4369fbe03f3cdd18a490e3aab581b4e009d01f72.tar.zst
accept avif and webp images as cover artworknext
Note this may require specific libraries to be installed...
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index b8ef018..7127c7c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -37,7 +37,7 @@
/* this is a regular expression that has to match image filename used
* for artwork */
-#define REGEX_ARTWORK "\\(folder\\|cover\\)\\.\\(jpg\\|png\\)"
+#define REGEX_ARTWORK "\\(folder\\|cover\\)\\.\\(avif\\|jpg\\|png\\|webp\\)"
/* how to connect to mpd host ?
* MPD_HOST is the server's host name, IP address or Unix socket path. If the