diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-11 02:44:23 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-11 13:22:15 +0200 |
commit | bbc2c1a263b375754d82520664bb8be0fad69d5d (patch) | |
tree | 37bf1aad610936b2c5737fc6bc5b34723fbdb547 /modules/home/conf/beets/default.nix | |
parent | feat(home/beets): Init 'play' plugin (diff) | |
download | nixos-config-bbc2c1a263b375754d82520664bb8be0fad69d5d.tar.gz nixos-config-bbc2c1a263b375754d82520664bb8be0fad69d5d.zip |
feat(home/beets): Init `badfiles` plugin
Diffstat (limited to 'modules/home/conf/beets/default.nix')
-rw-r--r-- | modules/home/conf/beets/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix index 145ae337..2a64a71f 100644 --- a/modules/home/conf/beets/default.nix +++ b/modules/home/conf/beets/default.nix @@ -168,6 +168,14 @@ # auto = true; # }; + badfiles = { + check_on_import = true; + commands = { + flac = "${lib.getExe pkgs.flac} --test --warnings-as-errors --silent"; + mp3 = "${lib.getExe pkgs.mp3val}"; + }; + }; + plugins = [ # Remove all previous tags before import (this is useful to ensure, that # the metadata in the libary.db is synced with the tags on disk) @@ -178,6 +186,9 @@ # Calculate replay gain "replaygain" + # Check for bad files + "badfiles" + # Alows to use inline python for parsing tags "inline" |