diff options
Diffstat (limited to 'modules')
-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" |