aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-07-09 09:14:08 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-07-09 09:14:08 +0200
commit53950b19fc05087cc90aef36ddc391d4c28eb169 (patch)
treeb644d552cfe025cb0f21232952eb4b42375fcad8 /config.def.h
parent95295a7dd2cf216c86218c89a7625e0654ce33d8 (diff)
downloadmpd-notification-53950b19fc05087cc90aef36ddc391d4c28eb169.tar.gz
mpd-notification-53950b19fc05087cc90aef36ddc391d4c28eb169.tar.zst
rework the notification string handling
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 934f64c..8e86b5a 100644
--- a/config.def.h
+++ b/config.def.h
@@ -17,12 +17,14 @@
/* strings used to display notification messages
* TEXT_PLAY needs to include three '%s', in order:
* title, artist, album */
-#define TEXT_TOPIC "MPD Notification"
-#define TEXT_PLAY "Playing <b>%s</b>\nby <i>%s</i>\nfrom <i>%s</i>"
-#define TEXT_PAUSE "Paused playback"
-#define TEXT_STOP "Stopped playback"
-#define TEXT_NONE "No action received yet."
-#define TEXT_UNKNOWN "(unknown)"
+#define TEXT_TOPIC "MPD Notification"
+#define TEXT_PLAY_TITLE "Playing <b>%s</b>"
+#define TEXT_PLAY_ARTIST "\nby <i>%s</i>"
+#define TEXT_PLAY_ALBUM "\nfrom <i>%s</i>"
+#define TEXT_PAUSE "Paused playback"
+#define TEXT_STOP "Stopped playback"
+#define TEXT_NONE "No action received yet."
+#define TEXT_UNKNOWN "(unknown)"
/* this is a regular expression that has to match image filename used
* for artwork */