From 1fdba9c7410af8f873fdd517ba5b9f65cfbb0f34 Mon Sep 17 00:00:00 2001 From: chaos Date: Sat, 25 May 2024 21:43:43 +0100 Subject: [PATCH] try dbFile = null & database plugin --- hosts/hetzner-arm/containers/music/profiles/mpd.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/hetzner-arm/containers/music/profiles/mpd.nix b/hosts/hetzner-arm/containers/music/profiles/mpd.nix index 92f3cb7..0f9abb7 100644 --- a/hosts/hetzner-arm/containers/music/profiles/mpd.nix +++ b/hosts/hetzner-arm/containers/music/profiles/mpd.nix @@ -34,6 +34,7 @@ in { enable = true; network.listenAddress = "0.0.0.0"; musicDirectory = "nfs://127.0.0.1:2049/?version=3"; + dbFile = null; credentials = [ { passwordFile = "${secrets.mpd_control_password.path}"; @@ -53,6 +54,10 @@ in { quality "very high" threads "0" } + database { + plugin "simple" + path "/var/lib/mpd/db" + } '' + concatStringsSep "\n" (forEach ["low" "medium" "high"] (quality: let bitrates = {