New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
beets: Include patch or change replaygain backend #10376
Comments
Sounds like we should switch to GStreamer. |
@aszlig friendly reminder that beetbox/beets@225ba28 is not yet fixed, the error is only caught and logged. |
Mhm, we have |
Introduces a new plugin called "badfiles", which helps to scan for corruption within the music collection. I've added this to pluginsWithoutDeps and sorted the list. Full upstream changelog can be found here: https://github.com/sampsyo/beets/releases/tag/v1.3.15 This fixes NixOS#10376 via beetbox/beets@225ba28. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
After trying with a dozen files, it seems the bs1770gain backend is much more reliable than the audiotools backend and especially does a better job (well, compared to audiotools which either does doing nothing at all or throws an exception) when used on alboms that contain different sample rates/sizes. Additionally, we already had a few issues regarding the audiotools backend, even to the extent that @sampsyco almost wanted to drop it upstream (see sampsyco/beets#1342). Also related issues are #10376 and beetbox/beets#1592. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
So this was suggested as [long ago as October, 2015](#10376 (comment)). Despite being fairly ignorant of the nix Python support, I decided that I really wanted this; this change brings in what I believe are the necessary components---I have, at least, successfully run `beet replaygain` and `beet bpd`---but it may not do it in the best way; I'm happy to consider input on that front. I can at least state that all three changes are necessary---leave any one of them out and gstreamer support doesn't work.
In the current version, the replaygain backend used by nixpkgs has a bug that crashes beets.
A fix is available here and needs to be cherry-picked.
Bear in mind that this patch doesn’t handle the error, it only skips the files where it happens.
Alternatively it might make sense to switch to a different backend, there are others available, documented in https://beets.readthedocs.org/en/latest/plugins/replaygain.html
cc @aszlig @pjones @domenkozar
The text was updated successfully, but these errors were encountered: