diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-10 22:18:12 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-10 22:18:12 +0200 |
commit | a8e06cce5e2ee0aeeb8cf54c7515b6a3f3afcd66 (patch) | |
tree | 3216865e54f271e2ac23c2389e4f47384f3217e4 /modules/home/conf/beets/default.nix | |
parent | feat(home/{beets, mpd}): Setup further plugins (diff) | |
download | nixos-config-a8e06cce5e2ee0aeeb8cf54c7515b6a3f3afcd66.tar.gz nixos-config-a8e06cce5e2ee0aeeb8cf54c7515b6a3f3afcd66.zip |
feat(home/beets): Add a hook to also calculate album replaygain on import
Diffstat (limited to 'modules/home/conf/beets/default.nix')
-rw-r--r-- | modules/home/conf/beets/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix index ef969dc0..84f8618d 100644 --- a/modules/home/conf/beets/default.nix +++ b/modules/home/conf/beets/default.nix @@ -52,7 +52,14 @@ force = true; }; hook = { - hooks = []; + hooks = [ + { + # Also generate the replaygain for the album variant (so selecting between + # track and album becomes possible) + event = "import"; + command = "beet replaygain --album"; + } + ]; }; replaygain = { auto = true; |