about summary refs log tree commit diff
diff options
context:
space:
mode:
-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";