about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home.legacy/conf/beets/default.nix16
-rw-r--r--modules/home.legacy/conf/beets/plugins.nix2
-rw-r--r--modules/home.legacy/conf/beets/plugins/ihate/default.nix1
-rw-r--r--modules/home.legacy/conf/beets/plugins/inline/default.nix4
4 files changed, 12 insertions, 11 deletions
diff --git a/modules/home.legacy/conf/beets/default.nix b/modules/home.legacy/conf/beets/default.nix
index 0132a859..0879b1a5 100644
--- a/modules/home.legacy/conf/beets/default.nix
+++ b/modules/home.legacy/conf/beets/default.nix
@@ -110,12 +110,12 @@ in {
     };
   };
 
-  # Use the json formatter instead of the YAML one, as the YAML formatter mangles the
-  # longer python inline strings.
-  # YAML is a superset of JSON.
-  xdg.configFile."beets/config.yaml".source =
-    lib.mkForce
-    ((pkgs.formats.json {}).generate
-      "beets-config"
-      config.programs.beets.settings);
+  # # Use the json formatter instead of the YAML one, as the YAML formatter mangles the
+  # # longer python inline strings.
+  # # YAML is a superset of JSON.
+  # xdg.configFile."beets/config.yaml".source =
+  #   lib.mkForce
+  #   ((pkgs.formats.json {}).generate
+  #     "beets-config"
+  #     config.programs.beets.settings);
 }
diff --git a/modules/home.legacy/conf/beets/plugins.nix b/modules/home.legacy/conf/beets/plugins.nix
index 01d022c4..aaeab843 100644
--- a/modules/home.legacy/conf/beets/plugins.nix
+++ b/modules/home.legacy/conf/beets/plugins.nix
@@ -20,6 +20,8 @@
   # Extract things from the music file
   # "xtractor"
 
+  "musicbrainz"
+
   # Calculate replay gain
   "replaygain"
 
diff --git a/modules/home.legacy/conf/beets/plugins/ihate/default.nix b/modules/home.legacy/conf/beets/plugins/ihate/default.nix
index 51cb6f11..2356ec3b 100644
--- a/modules/home.legacy/conf/beets/plugins/ihate/default.nix
+++ b/modules/home.legacy/conf/beets/plugins/ihate/default.nix
@@ -11,6 +11,7 @@
   programs.beets.settings.ihate = {
     warn = [
       "title:commentary"
+      "title:live"
       "albumtype:live"
     ];
   };
diff --git a/modules/home.legacy/conf/beets/plugins/inline/default.nix b/modules/home.legacy/conf/beets/plugins/inline/default.nix
index 564d5b4c..bf476c9f 100644
--- a/modules/home.legacy/conf/beets/plugins/inline/default.nix
+++ b/modules/home.legacy/conf/beets/plugins/inline/default.nix
@@ -11,8 +11,6 @@
   programs.beets.settings.item_fields = {
     primary_artist =
       # python
-      ''
-        albumartists[0]
-      '';
+      ''albumartists[0]'';
   };
 }