aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-19 21:35:11 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-19 21:42:47 +0200
commit8a60c98ecb161df1040ccca3259750b1aeb1d2e7 (patch)
treee4b85012df533770dd2416e63fd5305be1589d9e /config.def.h
parentb92cf4af44d7132f9a0e93a42068b87d0f2de614 (diff)
downloadmpd-notification-8a60c98ecb161df1040ccca3259750b1aeb1d2e7.tar.gz
mpd-notification-8a60c98ecb161df1040ccca3259750b1aeb1d2e7.tar.zst
add a format specifier for duration
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index f262cfe..b8ef018 100644
--- a/config.def.h
+++ b/config.def.h
@@ -27,7 +27,7 @@
/* strings used to display notification messages
* TEXT_PLAY & TEXT_PAUSE can include several specifiers:
- * %t for title, %a for artist and %A for album */
+ * %t for title, %a for artist, %A for album and %d for duration */
#define TEXT_TOPIC "MPD Notification"
#define TEXT_PLAY "Playing <b>%t</b>\nby <i>%a</i>\nfrom <i>%A</i>"
#define TEXT_PAUSE "Paused <b>%t</b>\nby <i>%a</i>\nfrom <i>%A</i>"