mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 08:34:50 +00:00
0faf72a557
The maintainer has stopped cutting releases[1]. Since the last release, 1.4.9, includes a dependency that is filled with hate speech[2] it's all the more reason to package the unstable version and eliminate that requirement. Moreover a number of fixes, improvements, and features have landed since. [1]: https://github.com/beetbox/beets/issues/3625 [2]: https://github.com/NixOS/nixpkgs/pull/90504 Co-authored-by: Doron Behar <doron.behar@gmail.com>
22 lines
867 B
Diff
22 lines
867 B
Diff
diff --git i/beetsplug/badfiles.py w/beetsplug/badfiles.py
|
|
index 36b45de3..5208b696 100644
|
|
--- i/beetsplug/badfiles.py
|
|
+++ w/beetsplug/badfiles.py
|
|
@@ -71,14 +71,14 @@ class BadFiles(BeetsPlugin):
|
|
return status, errors, [line for line in output.split("\n") if line]
|
|
|
|
def check_mp3val(self, path):
|
|
- status, errors, output = self.run_command(["mp3val", path])
|
|
+ status, errors, output = self.run_command(["@mp3val@/bin/mp3val", path])
|
|
if status == 0:
|
|
output = [line for line in output if line.startswith("WARNING:")]
|
|
errors = len(output)
|
|
return status, errors, output
|
|
|
|
def check_flac(self, path):
|
|
- return self.run_command(["flac", "-wst", path])
|
|
+ return self.run_command(["@flac@/bin/flac", "-wst", path])
|
|
|
|
def check_custom(self, command):
|
|
def checker(path):
|