about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-31 08:38:37 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-31 08:38:37 -0700
commit48b1dd0f4fccb4ee67ddb646a14eac6dcf2188ce (patch)
tree9520e696f6b7ce18014a546c7e0db2102d38cd74
parentbeets: fix configuration + discogs (diff)
downloadworld-48b1dd0f4fccb4ee67ddb646a14eac6dcf2188ce.tar.gz
beets: more configuration
Diffstat (limited to '')
-rw-r--r--users/fcuny/cli/beets.nix19
1 files changed, 17 insertions, 2 deletions
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";