This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-dotfiles/user/configs/beets/beets.nix

38 lines
848 B
Nix
Raw Normal View History

2022-08-07 16:37:11 +01:00
{ config, pkgs, ... }: {
programs.beets = {
enable = true;
settings = {
plugins = "mpdupdate ftintitle fetchart chroma edit";
directory = "/mnt/hdd/Music";
library = "/mnt/hdd/Music/library.db";
import = {
"resume" = true;
"group_albums" = true;
"move" = true;
};
paths = {
2022-10-03 23:21:40 +01:00
"default" =
"%asciify{$albumartist}/$year - %asciify{$album}%aunique{}/$track %asciify{$title}";
2022-08-07 16:37:11 +01:00
"singleton" = "Non-Album/%asciify{$artist}/%asciify{$title}";
2022-10-03 23:21:40 +01:00
"comp" =
"Compilations/%asciify{$album}%aunique{}/$track %asciify{$title}";
2022-08-07 16:37:11 +01:00
};
2022-10-03 23:21:40 +01:00
ftintitle = { "auto" = true; };
2022-08-07 16:37:11 +01:00
2022-10-03 23:21:40 +01:00
fetchart = { "auto" = true; };
2022-08-07 16:37:11 +01:00
2022-10-03 23:21:40 +01:00
chroma = { auto = true; };
2022-08-07 16:37:11 +01:00
replaygain = {
"backend" = "gstreamer";
"threads" = 8;
};
};
};
}