diff options
author | 2024-06-19 11:13:33 +0200 | |
---|---|---|
committer | 2024-06-19 21:42:47 +0200 | |
commit | b92cf4af44d7132f9a0e93a42068b87d0f2de614 (patch) | |
tree | 0dbf99f4312a9415f896019210df6b8b670b9373 /README.md | |
parent | 25448507c67822a3fa3433eebcb35a784bfe5be2 (diff) | |
download | mpd-notification-b92cf4af44d7132f9a0e93a42068b87d0f2de614.tar.gz mpd-notification-b92cf4af44d7132f9a0e93a42068b87d0f2de614.tar.zst |
support custom format from configuration
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 ------- |