diff options
author | Christian Hesse <mail@eworm.de> | 2015-07-09 09:14:08 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-07-09 09:14:08 +0200 |
commit | 53950b19fc05087cc90aef36ddc391d4c28eb169 (patch) | |
tree | b644d552cfe025cb0f21232952eb4b42375fcad8 /config.def.h | |
parent | 95295a7dd2cf216c86218c89a7625e0654ce33d8 (diff) | |
download | mpd-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.h | 14 |
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 */ |