From 48b1dd0f4fccb4ee67ddb646a14eac6dcf2188ce Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 31 Mar 2022 08:38:37 -0700 Subject: beets: more configuration --- users/fcuny/cli/beets.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'users') diff --git a/users/fcuny/cli/beets.nix b/users/fcuny/cli/beets.nix index 1bab337..c7e1bc4 100644 --- a/users/fcuny/cli/beets.nix +++ b/users/fcuny/cli/beets.nix @@ -6,14 +6,29 @@ settings = { directory = "/data/fast/music"; plugins = - "fromfilename discogs duplicates fetchart embedart badfiles scrub"; - paths = { default = "$albumartist/$album%aunique{}/$track $title"; }; + "fromfilename discogs duplicates fetchart embedart badfiles lastgenre scrub"; + paths = { + default = "$albumartist/$album%aunique{}/$track $title"; + singleton = "Singles/$artist/$title"; + comp = "Compilations/$album%aunique{}/$track - $title"; + "albumtype:soundtrack" = + "Soundtracks/$album${aunique} ($year)/$track $title"; + }; import = { copy = true; move = true; }; va_name = "Various Artists"; embedart = { ifempty = true; }; + + lastgenre = { + auto = false; + canonical = true; + fallback = "unknown"; + force = true; + prefer_specific = true; + }; + fetchart = { cautious = true; sources = "filesystem coverart itunes amazon lastfm wikipedia"; -- cgit 1.4.1