From: "Nicolò Balzarotti" <anothersms@gmail.com>
To: 34693@debbugs.gnu.org
Subject: [bug#34693] [PATCH] services: mpd: add more configuration options
Date: Fri, 8 Mar 2019 14:29:17 +0100 [thread overview]
Message-ID: <20190308132916.18113-1-anothersms@gmail.com> (raw)
In-Reply-To: <87imwtha5s.fsf@gnu.org>
From: nixo <nicolo@nixo.xyz>
* gnu/services/audio.scm (<mpd-configuration>): Add 'db-file', 'state-file'
and 'sticker-file' fields.
* doc/guix.texi (Music Player Daemon): Document it.
---
doc/guix.texi | 9 +++++++++
gnu/services/audio.scm | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 9fb5cff06d..c5857acd0c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -20175,6 +20175,15 @@ The directory to scan for music files.
@item @code{playlist-dir} (default: @code{"~/.mpd/playlists"})
The directory to store playlists.
+@item @code{db-file} (default: @code{"~/.mpd/tag_cache"})
+The location of the music database.
+
+@item @code{state-file} (default: @code{"~/.mpd/state"})
+The location of the file that stores current MPD's state.
+
+@item @code{sticker-file} (default: @code{"~/.mpd/sticker.sql"})
+The location of the sticker database.
+
@item @code{port} (default: @code{"6600"})
The port to run mpd on.
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
next prev parent reply other threads:[~2019-03-08 13:32 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-01 8:07 [bug#34699] [PATCH] gnu: add emacs-smart-hungry-delete Nicolò Balzarotti
2019-03-01 8:07 ` [bug#34698] [PATCH] gnu: add org-noter Nicolò Balzarotti
2019-03-15 22:20 ` Ludovic Courtès
2019-12-10 4:55 ` bug#34698: " Brett Gilio
2019-03-01 8:07 ` [bug#34697] [PATCH] gnu: add r-lintr Nicolò Balzarotti
2019-03-07 19:47 ` Ricardo Wurmus
2019-12-11 8:19 ` [bug#34697] [PATCH 1/3] gnu: Add r-xmlparsedata Nicolò Balzarotti
2019-12-11 8:19 ` [bug#34697] [PATCH 2/3] gnu: Add r-cyclocomp Nicolò Balzarotti
2019-12-11 8:19 ` [bug#34697] [PATCH 3/3] gnu: Add r-lintr Nicolò Balzarotti
2019-12-11 11:12 ` bug#34697: " Ricardo Wurmus
2019-03-01 8:07 ` [bug#34696] [PATCH] gnu: add r-rematch2 Nicolò Balzarotti
2019-03-14 9:58 ` bug#34696: " Ricardo Wurmus
2019-03-01 8:07 ` [bug#34695] [PATCH] gnu: add r-rex Nicolò Balzarotti
2019-04-13 9:13 ` bug#34695: " Ricardo Wurmus
2019-03-01 8:07 ` [bug#34692] [PATCH] gnu: add r-statcheck Nicolò Balzarotti
2019-03-07 19:43 ` Ricardo Wurmus
2019-03-23 20:58 ` Ludovic Courtès
2019-03-23 21:18 ` Nicolò Balzarotti
2019-12-11 9:00 ` Nicolò Balzarotti
2019-12-11 10:15 ` bug#34692: " Ricardo Wurmus
2019-03-01 8:07 ` [bug#34694] [PATCH] gnu: add r-styler Nicolò Balzarotti
2019-04-19 17:15 ` bug#34694: " Ricardo Wurmus
2019-03-01 8:07 ` [bug#34693] [PATCH] services: mpd: add more configuration options Nicolò Balzarotti
2019-03-08 11:34 ` Ludovic Courtès
2019-03-08 13:29 ` Nicolò Balzarotti [this message]
2019-03-15 22:08 ` bug#34693: " Ludovic Courtès
2020-12-11 6:28 ` bug#34699: [PATCH] gnu: add emacs-smart-hungry-delete Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190308132916.18113-1-anothersms@gmail.com \
--to=anothersms@gmail.com \
--cc=34693@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).