summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-25 17:16:28 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-07-25 13:04:12 -0400
commit6a57bf96128a35b500f640784a36d0d1fa8a5466 (patch)
tree050f5eb16df0105cc7932dae4d13123d7d5cb876 /gnu/services
parent9ff1e7652a407b88a3eeeab6a67261f6fee40807 (diff)
downloadguix-6a57bf96128a35b500f640784a36d0d1fa8a5466.tar.gz
services: mpd: Add auto-update? field to mpd-configuration.
* gnu/services/audio.scm (mpd-configuration) [auto-update?]: New field.
* doc/guix.texi (Audio Services): Update doc.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/audio.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm
index 690409b7a1..8c061da47f 100644
--- a/gnu/services/audio.scm
+++ b/gnu/services/audio.scm
@@ -514,6 +514,11 @@ To use a Unix domain socket, an absolute path can be specified here."
    (serializer (lambda (_ x)
                  (mpd-serialize-list-of-mpd-plugin "archive_plugin" x))))
 
+  (auto-update?
+   maybe-boolean
+   "Whether to automatically update the music database when files are changed
+in the @var{music-directory}.")
+
   (input-cache-size
    maybe-string
    "MPD input cache size."