--- Begin Message ---
Subject: |
[PATCH] services: mpd: add more configuration options |
Date: |
Fri, 1 Mar 2019 09:07:58 +0100 |
* gnu/services/audio.scm (<mpd-configuration>): Add 'db-file', 'state-file'
and 'sticker-file' fields.
---
gnu/services/audio.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm
index 6629433780..ebfe05abd0 100644
--- a/gnu/services/audio.scm
+++ b/gnu/services/audio.scm
@@ -42,6 +42,12 @@
(default "~/Music"))
(playlist-dir mpd-configuration-playlist-dir
(default "~/.mpd/playlists"))
+ (db-file mpd-configuration-db-file
+ (default "~/.mpd/tag_cache"))
+ (state-file mpd-configuration-state-file
+ (default "~/.mpd/state"))
+ (sticker-file mpd-configuration-sticker-file
+ (default "~/.mpd/sticker.sql"))
(port mpd-configuration-port
(default "6600"))
(address mpd-configuration-address
@@ -61,6 +67,9 @@
`(("user" ,mpd-configuration-user)
("music_directory" ,mpd-configuration-music-dir)
("playlist_directory" ,mpd-configuration-playlist-dir)
+ ("db_file" ,mpd-configuration-db-file)
+ ("state_file" ,mpd-configuration-state-file)
+ ("sticker_file" ,mpd-configuration-sticker-file)
("port" ,mpd-configuration-port)
("bind_to_address" ,mpd-configuration-address)))))
--
2.20.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#34693] [PATCH] services: mpd: add more configuration options |
Date: |
Fri, 15 Mar 2019 23:08:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Nicolò,
Nicolò Balzarotti <address@hidden> skribis:
> From: nixo <address@hidden>
>
> * gnu/services/audio.scm (<mpd-configuration>): Add 'db-file', 'state-file'
> and 'sticker-file' fields.
> * doc/guix.texi (Music Player Daemon): Document it.
Applied, thank you!
Ludo’.
--- End Message ---