From b92cf4af44d7132f9a0e93a42068b87d0f2de614 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 19 Jun 2024 11:13:33 +0200 Subject: support custom format from configuration --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') 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 %t\nby %a\nfrom %A + text-pause = Paused %t\nby %a\nfrom %A + 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 ------- -- cgit v1.2.3-54-g00ecf