about summary refs log tree commit diff
path: root/users/fcuny/cli/beets.nix
blob: 7c6980ab4326d1eaef2c7fc49b2450657115f5e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, pkgs, ... }:

{
  programs.beets = {
    enable = true;
    settings = {
      directory = "/data/fast/music";
      plugins = "fromfilename duplicates fetchart embedart badfiles scrub";
      paths = { default = "$albumartist/$album%aunique{}/$track $title"; };
      import = {
        copy = yes;
        move = yes;
      };
      va_name = "Various Artists";
      embedart = { ifempty = "yes"; };
      fetchart = {
        cautious = true;
        sources = "filesystem coverart itunes amazon lastfm wikipedia";
      };
    };
  };
}