try dbFile = null & database plugin

This commit is contained in:
chaos 2024-05-25 21:43:43 +01:00
parent 94093d771c
commit 1fdba9c741
No known key found for this signature in database

View file

@ -34,6 +34,7 @@ in {
enable = true; enable = true;
network.listenAddress = "0.0.0.0"; network.listenAddress = "0.0.0.0";
musicDirectory = "nfs://127.0.0.1:2049/?version=3"; musicDirectory = "nfs://127.0.0.1:2049/?version=3";
dbFile = null;
credentials = [ credentials = [
{ {
passwordFile = "${secrets.mpd_control_password.path}"; passwordFile = "${secrets.mpd_control_password.path}";
@ -53,6 +54,10 @@ in {
quality "very high" quality "very high"
threads "0" threads "0"
} }
database {
plugin "simple"
path "/var/lib/mpd/db"
}
'' ''
+ concatStringsSep "\n" (forEach ["low" "medium" "high"] (quality: let + concatStringsSep "\n" (forEach ["low" "medium" "high"] (quality: let
bitrates = { bitrates = {