summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-19 11:13:33 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-19 21:42:47 +0200
commitb92cf4af44d7132f9a0e93a42068b87d0f2de614 (patch)
tree0dbf99f4312a9415f896019210df6b8b670b9373 /README.md
parent25448507c67822a3fa3433eebcb35a784bfe5be2 (diff)
downloadmpd-notification-b92cf4af44d7132f9a0e93a42068b87d0f2de614.tar.gz
mpd-notification-b92cf4af44d7132f9a0e93a42068b87d0f2de614.tar.zst
support custom format from configuration
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index d4b515d..5130f8a 100644
--- a/README.md
+++ b/README.md
@@ -84,10 +84,21 @@ look like this:
port = 6600
music-dir = /srv/media/music/
scale = 200
+ text-topic = MPD Notification
+ text-play = Playing <b>%t</b>\nby <i>%a</i>\nfrom <i>%A</i>
+ text-pause = Paused <b>%t</b>\nby <i>%a</i>\nfrom <i>%A</i>
+ text-stop = Stopped playback
timeout = 20
Unused options can be commented or removed completely.
+The options `text-play` and `text-pause` support custom formatting with
+these specifiers:
+
+* *%t*: title
+* *%a*: artist
+* *%A*: album
+
Artwork
-------