aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index fb93db8..965e4cc 100644
--- a/README.md
+++ b/README.md
@@ -65,7 +65,6 @@ or `systemctl --user enable mpd-notification`.
* *-m MUSIC-DIR*: use *MUSIC-DIR* for artwork lookup
* *--notification-file-workaround*: write artwork to file for notification
daemons that do required it
-* *-o*: Notification text is one line (no line breaks)
* *-p PORT*: connect to *PORT*
* *-s PIXELS*: scale image to a maximum size *PIXELS* x *PIXELS* pixels, keeping
ratio
@@ -84,12 +83,23 @@ look like this:
host = localhost
port = 6600
music-dir = /srv/media/music/
- oneline = true
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
+* *%d*: duration
+
Artwork
-------