linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / tools / audio / beets / badfiles-plugin-nix-paths.patch
blob6956183344c47a91bade9318e42376ec5e0fa78a
1 diff --git i/beetsplug/badfiles.py w/beetsplug/badfiles.py
2 index 36b45de3..5208b696 100644
3 --- i/beetsplug/badfiles.py
4 +++ w/beetsplug/badfiles.py
5 @@ -71,14 +71,14 @@ class BadFiles(BeetsPlugin):
6 return status, errors, [line for line in output.split("\n") if line]
8 def check_mp3val(self, path):
9 - status, errors, output = self.run_command(["mp3val", path])
10 + status, errors, output = self.run_command(["@mp3val@/bin/mp3val", path])
11 if status == 0:
12 output = [line for line in output if line.startswith("WARNING:")]
13 errors = len(output)
14 return status, errors, output
16 def check_flac(self, path):
17 - return self.run_command(["flac", "-wst", path])
18 + return self.run_command(["@flac@/bin/flac", "-wst", path])
20 def check_custom(self, command):
21 def checker(path):